Documentation ¶
Index ¶
Constants ¶
View Source
const FRAMERATE_FRAGMENT = `#version 150
precision mediump float;
uniform vec4 v_Color;
out vec4 v_FragData;
void main() {
v_FragData = v_Color;
}` + "\x00"
View Source
const FRAMERATE_VERTEX = `#version 150
in vec2 v_Position;
uniform mat4 m_ModelView;
uniform mat4 m_Projection;
void main() {
gl_Position = m_Projection * m_ModelView * vec4(v_Position, 0.0, 1.0);
}` + "\x00"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Framerate ¶
type Framerate struct {
// contains filtered or unexported fields
}
func NewFramerateRenderer ¶
Click to show internal directories.
Click to hide internal directories.