Function bgfx_rs::static_lib::is_texture_valid
source · pub fn is_texture_valid(
depth: u16,
cube_map: bool,
num_layers: u16,
format: TextureFormat,
flags: u64
) -> bool
Expand description
depth
: Depth dimension of volume texture.cube_map
: Indicates that texture contains cubemap.num_layers
: Number of layers in texture array.format
: Texture format. See: TextureFormat.flags
: Texture flags. See TextureFlags.