Function bgfx_sys::bgfx_is_texture_valid
source · pub unsafe extern "C" fn bgfx_is_texture_valid(
_depth: u16,
_cubeMap: bool,
_numLayers: u16,
_format: bgfx_texture_format_t,
_flags: u64
) -> bool
Expand description
Validate texture parameters.
@param[in] _depth Depth dimension of volume texture.
@param[in] _cubeMap Indicates that texture contains cubemap.
@param[in] _numLayers Number of layers in texture array.
@param[in] _format Texture format. See: TextureFormat::Enum
.
@param[in] _flags Texture flags. See BGFX_TEXTURE_*
.
@returns True if a texture with the same parameters can be created.