Enum glium::framebuffer::StencilAttachment [] [src]

pub enum StencilAttachment<'a> {
    Texture(TextureAnyImage<'a>),
    RenderBuffer(&'a StencilRenderBuffer),
}

Describes an attachment for a stencil buffer.

Variants

Texture(TextureAnyImage<'a>)

A texture.

RenderBuffer(&'a StencilRenderBuffer)

A render buffer.

Trait Implementations

impl<'a> Clone for StencilAttachment<'a>
[src]

fn clone(&self) -> StencilAttachment<'a>

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl<'a> Copy for StencilAttachment<'a>
[src]

impl<'a> ToStencilAttachment<'a> for StencilAttachment<'a>
[src]

fn to_stencil_attachment(self) -> StencilAttachment<'a>

Builds the StencilAttachment.