Enum glium::texture::DepthStencilFormat
[−]
[src]
pub enum DepthStencilFormat { I24I8, F32I8, }
List of formats available for depth-stencil textures.
Variants
I24I8 | |
F32I8 |
Methods
impl DepthStencilFormat
fn get_formats_list() -> Vec<DepthStencilFormat>
Returns a list of all the possible values of this enumeration.
fn to_texture_format(self) -> TextureFormat
Turns this format into a more generic TextureFormat
.
fn is_supported<C>(&self, context: &C) -> bool where C: CapabilitiesSource
Returns true if this format is supported by the backend.