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> Copy for ColorAttachment<'a>
[src]

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Builds the ColorAttachment.