alacritty::renderer::text

Trait TextShader

source
pub trait TextShader {
    // Required methods
    fn id(&self) -> c_uint;
    fn projection_uniform(&self) -> c_int;
}

Required Methods§

source

fn id(&self) -> c_uint

source

fn projection_uniform(&self) -> c_int

Id of the projection uniform.

Implementors§

source§

impl TextShader for alacritty::renderer::text::gles2::TextShaderProgram

source§

impl TextShader for alacritty::renderer::text::glsl3::TextShaderProgram