Struct rend3_types::Texture [−][src]
pub struct Texture {
pub label: Option<String>,
pub data: Vec<u8>,
pub format: TextureFormat,
pub size: UVec2,
pub mip_count: MipmapCount,
pub mip_source: MipmapSource,
}
Expand description
A bitmap image used as a data source for a texture.
Fields
label: Option<String>
data: Vec<u8>
format: TextureFormat
size: UVec2
mip_count: MipmapCount
mip_source: MipmapSource
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Texture
impl UnwindSafe for Texture
Blanket Implementations
Mutably borrows from an owned value. Read more