pub struct GlyphCacheCommand<'a> {
    pub glyph_cache_pixel_buffer: &'a [u8],
    pub glyph_cpu_buffer_pool: Arc<CpuBufferPool<u8>>,
    pub glyph_cache_texture: Arc<StorageImage>,
}
Expand description

An command for uploading an individual glyph.

Fields

glyph_cache_pixel_buffer: &'a [u8]

The CPU buffer containing the pixel data.

glyph_cpu_buffer_pool: Arc<CpuBufferPool<u8>>

The cpu buffer pool used to upload glyph pixels.

glyph_cache_texture: Arc<StorageImage>

The GPU image to which the glyphs are cached.

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

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Returns the size of an individual element.

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.