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