pub struct RenderBundleEncoderDescriptor<'a> {
pub label: Option<&'a str>,
pub color_formats: &'a [TextureFormat],
pub depth_stencil_format: Option<TextureFormat>,
pub sample_count: u32,
}
Expand description
Describes a [RenderBundleEncoder
].
Fields§
§label: Option<&'a str>
Debug label of the render bundle encoder. This will show up in graphics debuggers for easy identification.
color_formats: &'a [TextureFormat]
The formats of the color attachments that this render bundle is capable to rendering to. This must match the formats of the color attachments in the renderpass this render bundle is executed in.
depth_stencil_format: Option<TextureFormat>
The formats of the depth attachment that this render bundle is capable to rendering to. This must match the formats of the depth attachments in the renderpass this render bundle is executed in.
sample_count: u32
Sample count this render bundle is capable of rendering to. This must match the pipelines and the renderpasses it is used in.
Trait Implementations§
Source§impl<'a> Clone for RenderBundleEncoderDescriptor<'a>
impl<'a> Clone for RenderBundleEncoderDescriptor<'a>
Source§fn clone(&self) -> RenderBundleEncoderDescriptor<'a>
fn clone(&self) -> RenderBundleEncoderDescriptor<'a>
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 moreSource§impl<'a> Debug for RenderBundleEncoderDescriptor<'a>
impl<'a> Debug for RenderBundleEncoderDescriptor<'a>
Source§impl<'a> Default for RenderBundleEncoderDescriptor<'a>
impl<'a> Default for RenderBundleEncoderDescriptor<'a>
Source§fn default() -> RenderBundleEncoderDescriptor<'a>
fn default() -> RenderBundleEncoderDescriptor<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Hash for RenderBundleEncoderDescriptor<'a>
impl<'a> Hash for RenderBundleEncoderDescriptor<'a>
Source§impl<'a> PartialEq for RenderBundleEncoderDescriptor<'a>
impl<'a> PartialEq for RenderBundleEncoderDescriptor<'a>
Source§fn eq(&self, other: &RenderBundleEncoderDescriptor<'a>) -> bool
fn eq(&self, other: &RenderBundleEncoderDescriptor<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> Eq for RenderBundleEncoderDescriptor<'a>
impl<'a> StructuralPartialEq for RenderBundleEncoderDescriptor<'a>
Auto Trait Implementations§
impl<'a> Freeze for RenderBundleEncoderDescriptor<'a>
impl<'a> RefUnwindSafe for RenderBundleEncoderDescriptor<'a>
impl<'a> Send for RenderBundleEncoderDescriptor<'a>
impl<'a> Sync for RenderBundleEncoderDescriptor<'a>
impl<'a> Unpin for RenderBundleEncoderDescriptor<'a>
impl<'a> UnwindSafe for RenderBundleEncoderDescriptor<'a>
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