pub struct RenderPassDescriptor {
pub label: Option<String>,
pub color_attachments: Option<Vec<RenderPassColorAttachment>>,
pub depth_stencil_attachment: Option<RenderPassDepthStencilAttachment>,
pub occlusion_query_set: Option<QuerySet>,
pub timestamp_writes: Option<PassTimestampWrites>,
/* private fields */
}Fields§
§label: Option<String>§color_attachments: Option<Vec<RenderPassColorAttachment>>§depth_stencil_attachment: Option<RenderPassDepthStencilAttachment>§occlusion_query_set: Option<QuerySet>§timestamp_writes: Option<PassTimestampWrites>Implementations§
Source§impl RenderPassDescriptor
impl RenderPassDescriptor
pub fn new() -> Self
pub fn with_extension(self, extension: RenderPassDescriptorExtension) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenderPassDescriptor
impl RefUnwindSafe for RenderPassDescriptor
impl Send for RenderPassDescriptor
impl Sync for RenderPassDescriptor
impl Unpin for RenderPassDescriptor
impl UnsafeUnpin for RenderPassDescriptor
impl UnwindSafe for RenderPassDescriptor
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