pub type ArcRenderPassColorAttachment = RenderPassColorAttachment<Arc<TextureView>>;Aliased Type§
#[repr(C)]pub struct ArcRenderPassColorAttachment {
pub view: Arc<TextureView>,
pub depth_slice: Option<u32>,
pub resolve_target: Option<Arc<TextureView>>,
pub load_op: LoadOp<Color>,
pub store_op: StoreOp,
}Fields§
§view: Arc<TextureView>The view to use as an attachment.
depth_slice: Option<u32>The depth slice index of a 3D view. It must not be provided if the view is not 3D.
resolve_target: Option<Arc<TextureView>>The view that will receive the resolved output if multisampling is used.
load_op: LoadOp<Color>Operation to perform to the output attachment at the start of a renderpass.
This must be clear if it is the first renderpass rendering to a swap chain image.
store_op: StoreOpOperation to perform to the output attachment at the end of a renderpass.