Struct alacritty::renderer::RenderApi[][src]

pub struct RenderApi<'a> {
    active_tex: &'a mut c_uint,
    batch: &'a mut Batch,
    atlas: &'a mut Vec<Atlas>,
    current_atlas: &'a mut usize,
    program: &'a mut TextShaderProgram,
    config: &'a UiConfig,
}

Fields

active_tex: &'a mut c_uintbatch: &'a mut Batchatlas: &'a mut Vec<Atlas>current_atlas: &'a mut usizeprogram: &'a mut TextShaderProgramconfig: &'a UiConfig

Implementations

Draw a string in a variable location. Used for printing the render timer, warnings and errors.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Load the rasterized glyph into GPU memory.

Clear any state accumulated from previous loaded glyphs. 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.