Enum glium::framebuffer::DepthStencilAttachment
[−]
[src]
pub enum DepthStencilAttachment<'a> {
Texture(TextureAnyImage<'a>),
RenderBuffer(&'a DepthStencilRenderBuffer),
}Describes an attachment for a depth and stencil buffer.
Variants
Texture(TextureAnyImage<'a>)A texture.
RenderBuffer(&'a DepthStencilRenderBuffer)A render buffer.
Trait Implementations
impl<'a> Copy for DepthStencilAttachment<'a>[src]
impl<'a> Clone for DepthStencilAttachment<'a>[src]
fn clone(&self) -> DepthStencilAttachment<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'a> ToDepthStencilAttachment<'a> for DepthStencilAttachment<'a>[src]
fn to_depth_stencil_attachment(self) -> DepthStencilAttachment<'a>[src]
Builds the DepthStencilAttachment.