Expand description
Texture creation and usage
Re-exports§
pub use crate::pixel::Rgba8Unorm;
Modules§
Structs§
- Texture
- Static image. Can be loaded from various of formats.
- Texture
Builder - Generics-free texture builder.
Struct for staging data in preparation of building a
Texture
Enums§
- Build
Error - MipLevels
- Number of mip levels
Functions§
- mip_
levels_ from_ dims - Calculate the number of mip levels for a 2D image with given dimensions