Enum glium::texture::StencilFormat [] [src]

pub enum StencilFormat {
    I1,
    I4,
    I8,
    I16,
}

List of formats available for stencil textures.

You are strongly advised to only use I8.

Variants

I1
I4
I8
I16

Methods

impl StencilFormat

fn to_texture_format(self) -> TextureFormat

Turns this format into a more generic TextureFormat.

Trait Implementations

Derived Implementations

impl Eq for StencilFormat

impl PartialEq for StencilFormat

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

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

impl Copy for StencilFormat

impl Clone for StencilFormat

fn clone(&self) -> StencilFormat

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

impl Debug for StencilFormat

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