Struct amethyst_renderer::ColorBuffer[][src]

pub struct ColorBuffer {
    pub as_input: Option<ShaderResourceView<Resources, [f32; 4]>>,
    pub as_output: RenderTargetView<Resources, (R8_G8_B8_A8, Unorm)>,
}

Target color buffer.

Fields

Shader resource view.

Target view.

Trait Implementations

impl Clone for ColorBuffer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ColorBuffer
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ColorBuffer
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for ColorBuffer

impl Sync for ColorBuffer