Enum glium::framebuffer::DepthAttachment
[−]
[src]
pub enum DepthAttachment<'a> {
Texture(TextureAnyImage<'a>),
RenderBuffer(&'a DepthRenderBuffer),
}Describes an attachment for a depth buffer.
Variants
Texture(TextureAnyImage<'a>)A texture.
RenderBuffer(&'a DepthRenderBuffer)A render buffer.
Trait Implementations
impl<'a> Copy for DepthAttachment<'a>[src]
impl<'a> Clone for DepthAttachment<'a>[src]
fn clone(&self) -> DepthAttachment<'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> ToDepthAttachment<'a> for DepthAttachment<'a>[src]
fn to_depth_attachment(self) -> DepthAttachment<'a>[src]
Builds the DepthAttachment.