pub struct RenderBundleEncoderDescriptor {
pub label: Option<String>,
pub color_formats: Option<Vec<TextureFormat>>,
pub depth_stencil_format: Option<TextureFormat>,
pub sample_count: Option<u32>,
pub depth_read_only: Option<bool>,
pub stencil_read_only: Option<bool>,
/* private fields */
}Fields§
§label: Option<String>§color_formats: Option<Vec<TextureFormat>>§depth_stencil_format: Option<TextureFormat>§sample_count: Option<u32>§depth_read_only: Option<bool>§stencil_read_only: Option<bool>Implementations§
Source§impl RenderBundleEncoderDescriptor
impl RenderBundleEncoderDescriptor
pub fn new() -> Self
pub fn with_extension( self, extension: RenderBundleEncoderDescriptorExtension, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenderBundleEncoderDescriptor
impl RefUnwindSafe for RenderBundleEncoderDescriptor
impl Send for RenderBundleEncoderDescriptor
impl Sync for RenderBundleEncoderDescriptor
impl Unpin for RenderBundleEncoderDescriptor
impl UnsafeUnpin for RenderBundleEncoderDescriptor
impl UnwindSafe for RenderBundleEncoderDescriptor
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