Skip to main content

TextureSlots

Type Alias TextureSlots 

Source
pub type TextureSlots = HashMap<TextureHandle, usize>;
Expand description

Slot in the backend’s atlas pool per streamed texture. A textured sprite whose texture is absent falls back to a solid fill.

Aliased Type§

pub struct TextureSlots { /* private fields */ }