Struct conrod_vulkano::GlyphCacheCommands
source · pub struct GlyphCacheCommands {
pub glyph_cache_texture: Arc<StorageImage<R8G8B8A8Unorm>>,
pub glyph_cpu_buffer_pool: Arc<CpuBufferPool<[u8; 4]>>,
pub commands: Vec<GlyphCacheCommand>,
}
Expand description
All commands that must be submitted to the command buffer for caching text glyphs.
Fields§
§glyph_cache_texture: Arc<StorageImage<R8G8B8A8Unorm>>
The GPU image to which the glyphs are cached
glyph_cpu_buffer_pool: Arc<CpuBufferPool<[u8; 4]>>
The cpu buffer pool used to upload glyphs.
commands: Vec<GlyphCacheCommand>
Commands for caching individual glyphs.
Auto Trait Implementations§
impl RefUnwindSafe for GlyphCacheCommands
impl Send for GlyphCacheCommands
impl Sync for GlyphCacheCommands
impl Unpin for GlyphCacheCommands
impl UnwindSafe for GlyphCacheCommands
Blanket Implementations§
source§impl<T> Content for T
impl<T> Content for T
source§fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
source§fn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
source§fn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.