Struct wgpu_core::command::render::ArcRenderPassColorAttachment
source · struct ArcRenderPassColorAttachment {
pub view: Arc<TextureView>,
pub resolve_target: Option<Arc<TextureView>>,
pub channel: PassChannel<Color>,
}
Expand description
Describes a color attachment to a render pass.
Fields§
§view: Arc<TextureView>
The view to use as an attachment.
resolve_target: Option<Arc<TextureView>>
The view that will receive the resolved output if multisampling is used.
channel: PassChannel<Color>
What operations will be performed on this color attachment.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArcRenderPassColorAttachment
impl !RefUnwindSafe for ArcRenderPassColorAttachment
impl Send for ArcRenderPassColorAttachment
impl Sync for ArcRenderPassColorAttachment
impl Unpin for ArcRenderPassColorAttachment
impl !UnwindSafe for ArcRenderPassColorAttachment
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