Struct conrod_vulkano::GlyphCacheCommand
source · [−]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
impl<'a> RefUnwindSafe for GlyphCacheCommand<'a>
impl<'a> Send for GlyphCacheCommand<'a>
impl<'a> Sync for GlyphCacheCommand<'a>
impl<'a> Unpin for GlyphCacheCommand<'a>
impl<'a> UnwindSafe for GlyphCacheCommand<'a>
Blanket Implementations
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.