Struct alacritty::renderer::TextShaderProgram [−][src]
pub struct TextShaderProgram {
id: c_uint,
u_projection: c_int,
u_cell_dim: c_int,
u_background: c_int,
}Expand description
Text drawing program.
Uniforms are prefixed with “u”, and vertex attributes are prefixed with “a”.
Fields
id: c_uintProgram id.
u_projection: c_intProjection scale and offset uniform.
u_cell_dim: c_intCell dimensions (pixels).
u_background: c_intBackground pass flag.
Rendering is split into two passes; 1 for backgrounds, and one for text.