#[repr(C)]pub struct WGPUDepthStencilState {
pub nextInChain: *mut WGPUChainedStruct,
pub format: WGPUTextureFormat,
pub depthWriteEnabled: WGPUOptionalBool,
pub depthCompare: WGPUCompareFunction,
pub stencilFront: WGPUStencilFaceState,
pub stencilBack: WGPUStencilFaceState,
pub stencilReadMask: u32,
pub stencilWriteMask: u32,
pub depthBias: i32,
pub depthBiasSlopeScale: f32,
pub depthBiasClamp: f32,
}Fields§
§nextInChain: *mut WGPUChainedStruct§format: WGPUTextureFormat§depthWriteEnabled: WGPUOptionalBool§depthCompare: WGPUCompareFunction§stencilFront: WGPUStencilFaceState§stencilBack: WGPUStencilFaceState§stencilReadMask: u32§stencilWriteMask: u32§depthBias: i32§depthBiasSlopeScale: f32§depthBiasClamp: f32Trait Implementations§
Source§impl Clone for WGPUDepthStencilState
impl Clone for WGPUDepthStencilState
Source§fn clone(&self) -> WGPUDepthStencilState
fn clone(&self) -> WGPUDepthStencilState
Returns a duplicate 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 WGPUDepthStencilState
impl Debug for WGPUDepthStencilState
Source§impl Default for WGPUDepthStencilState
impl Default for WGPUDepthStencilState
Source§impl PartialEq for WGPUDepthStencilState
impl PartialEq for WGPUDepthStencilState
Source§impl PartialOrd for WGPUDepthStencilState
impl PartialOrd for WGPUDepthStencilState
impl Copy for WGPUDepthStencilState
impl StructuralPartialEq for WGPUDepthStencilState
Auto Trait Implementations§
impl Freeze for WGPUDepthStencilState
impl RefUnwindSafe for WGPUDepthStencilState
impl !Send for WGPUDepthStencilState
impl !Sync for WGPUDepthStencilState
impl Unpin for WGPUDepthStencilState
impl UnwindSafe for WGPUDepthStencilState
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