Struct wgpu_core::device::RenderPassContext
source · pub(crate) struct RenderPassContext {
pub attachments: AttachmentData<TextureFormat>,
pub sample_count: u32,
pub multiview: Option<NonZeroU32>,
}
Fields§
§attachments: AttachmentData<TextureFormat>
§sample_count: u32
§multiview: Option<NonZeroU32>
Implementations§
source§impl RenderPassContext
impl RenderPassContext
pub(crate) fn check_compatible<T: Labeled>( &self, other: &Self, res: &T, ) -> Result<(), RenderPassCompatibilityError>
Trait Implementations§
source§impl Clone for RenderPassContext
impl Clone for RenderPassContext
source§fn clone(&self) -> RenderPassContext
fn clone(&self) -> RenderPassContext
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 Debug for RenderPassContext
impl Debug for RenderPassContext
source§impl<'de> Deserialize<'de> for RenderPassContext
impl<'de> Deserialize<'de> for RenderPassContext
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for RenderPassContext
impl Hash for RenderPassContext
source§impl PartialEq for RenderPassContext
impl PartialEq for RenderPassContext
source§fn eq(&self, other: &RenderPassContext) -> bool
fn eq(&self, other: &RenderPassContext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RenderPassContext
impl Serialize for RenderPassContext
impl StructuralPartialEq for RenderPassContext
Auto Trait Implementations§
impl Freeze for RenderPassContext
impl RefUnwindSafe for RenderPassContext
impl Send for RenderPassContext
impl Sync for RenderPassContext
impl Unpin for RenderPassContext
impl UnwindSafe for RenderPassContext
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