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 moreAuto Trait Implementations§
impl Freeze for ColorAttachment
impl !RefUnwindSafe for ColorAttachment
impl Send for ColorAttachment
impl Sync for ColorAttachment
impl Unpin for ColorAttachment
impl !UnwindSafe for ColorAttachment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more