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
as_input: Option<ShaderResourceView<Resources, [f32; 4]>>
Shader resource view.
as_output: RenderTargetView<Resources, (R8_G8_B8_A8, Unorm)>
Target view.
Trait Implementations
impl Clone for ColorBuffer
[src]
impl Clone for ColorBuffer
fn clone(&self) -> ColorBuffer
[src]
fn clone(&self) -> ColorBuffer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ColorBuffer
[src]
impl Debug for ColorBuffer
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ColorBuffer
[src]
impl PartialEq for ColorBuffer
fn eq(&self, other: &ColorBuffer) -> bool
[src]
fn eq(&self, other: &ColorBuffer) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ColorBuffer) -> bool
[src]
fn ne(&self, other: &ColorBuffer) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ColorBuffer
impl Send for ColorBuffer
impl Sync for ColorBuffer
impl Sync for ColorBuffer