Struct bgfx_sys::bgfx_texture_info_s [−][src]
#[repr(C)]pub struct bgfx_texture_info_s { pub format: bgfx_texture_format_t, pub storageSize: u32, pub width: u16, pub height: u16, pub depth: u16, pub numLayers: u16, pub numMips: u8, pub bitsPerPixel: u8, pub cubeMap: bool, }
Expand description
Texture info.
Fields
format: bgfx_texture_format_t
storageSize: u32
Texture format.
width: u16
Total amount of bytes required to store texture.
height: u16
Texture width.
depth: u16
Texture height.
numLayers: u16
Texture depth.
numMips: u8
Number of layers in texture array.
bitsPerPixel: u8
Number of MIP maps.
cubeMap: bool
Format bits per pixel.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for bgfx_texture_info_s
impl Send for bgfx_texture_info_s
impl Sync for bgfx_texture_info_s
impl Unpin for bgfx_texture_info_s
impl UnwindSafe for bgfx_texture_info_s
Blanket Implementations
Mutably borrows from an owned value. Read more