Struct rend3::types::Texture [−][src]
pub struct Texture {
pub label: Option<String>,
pub data: Vec<u8, Global>,
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, Global>format: TextureFormatsize: UVec2mip_count: MipmapCountmip_source: MipmapSourceTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Texture
impl UnwindSafe for Texture
Blanket Implementations
Mutably borrows from an owned value. Read more