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.

Trait Implementations

Derived Implementations

impl Eq for DepthStencilFormat

impl PartialEq for DepthStencilFormat

fn eq(&self, __arg_0: &DepthStencilFormat) -> bool

fn ne(&self, __arg_0: &DepthStencilFormat) -> bool

impl Hash for DepthStencilFormat

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Copy for DepthStencilFormat

impl Clone for DepthStencilFormat

fn clone(&self) -> DepthStencilFormat

fn clone_from(&mut self, source: &Self)

impl Debug for DepthStencilFormat

fn fmt(&self, __arg_0: &mut Formatter) -> Result