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_uint

Program id.

u_projection: c_int

Projection scale and offset uniform.

u_cell_dim: c_int

Cell dimensions (pixels).

u_background: c_int

Background pass flag.

Rendering is split into two passes; 1 for backgrounds, and one for text.

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.