pub trait TextRenderBatch {
    // Required methods
    fn is_empty(&self) -> bool;
    fn full(&self) -> bool;
    fn tex(&self) -> c_uint;
    fn add_item(
        &mut self,
        cell: &RenderableCell,
        glyph: &Glyph,
        size_info: &SizeInfo
    );
}

Required Methods§

source

fn is_empty(&self) -> bool

Check if Batch is empty.

source

fn full(&self) -> bool

Check whether the Batch is full.

source

fn tex(&self) -> c_uint

Get texture Batch is using.

source

fn add_item( &mut self, cell: &RenderableCell, glyph: &Glyph, size_info: &SizeInfo )

Add item to the batch.

Implementors§

source§

impl TextRenderBatch for alacritty::renderer::text::gles2::Batch

source§

impl TextRenderBatch for alacritty::renderer::text::glsl3::Batch