Struct simple_wgpu::ColorAttachment
source · pub struct ColorAttachment {
pub target: RenderTexture,
pub resolve_target: Option<RenderTexture>,
pub ops: Operations<Color>,
}
Expand description
A color attachment for a RenderPass
Equivalent to wgpu::RenderPassColorAttachment
Fields§
§target: RenderTexture
§resolve_target: Option<RenderTexture>
§ops: Operations<Color>
Trait Implementations§
source§impl Clone for ColorAttachment
impl Clone for ColorAttachment
source§fn clone(&self) -> ColorAttachment
fn clone(&self) -> ColorAttachment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more