Type Alias bgfx_sys::bgfx_texture_info_t
source · pub type bgfx_texture_info_t = bgfx_texture_info_s;
Expand description
Texture info.
Aliased Type§
struct bgfx_texture_info_t {
pub format: u32,
pub storageSize: u32,
pub width: u16,
pub height: u16,
pub depth: u16,
pub numLayers: u16,
pub numMips: u8,
pub bitsPerPixel: u8,
pub cubeMap: bool,
}
Fields§
§format: u32
§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.