Enum nannou::ui::backend::glium::glium::framebuffer::ColorAttachment[][src]

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

Describes an attachment for a color buffer.

Variants

A texture.

A render buffer.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> ToColorAttachment<'a> for ColorAttachment<'a>
[src]

Builds the ColorAttachment.

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

Auto Trait Implementations

impl<'a> !Send for ColorAttachment<'a>

impl<'a> !Sync for ColorAttachment<'a>