Skip to main content

GPUDepthStencilState

Type Alias GPUDepthStencilState 

Source
pub(crate) type GPUDepthStencilState = GPUDepthStencilState;

Aliased Type§

pub(crate) struct GPUDepthStencilState {
    pub depthBias: i32,
    pub depthBiasClamp: Finite<f32>,
    pub depthBiasSlopeScale: Finite<f32>,
    pub depthCompare: Option<GPUCompareFunction>,
    pub depthWriteEnabled: Option<bool>,
    pub format: GPUTextureFormat,
    pub stencilBack: GPUStencilFaceState,
    pub stencilFront: GPUStencilFaceState,
    pub stencilReadMask: u32,
    pub stencilWriteMask: u32,
}

Fields§

§depthBias: i32§depthBiasClamp: Finite<f32>§depthBiasSlopeScale: Finite<f32>§depthCompare: Option<GPUCompareFunction>§depthWriteEnabled: Option<bool>§format: GPUTextureFormat§stencilBack: GPUStencilFaceState§stencilFront: GPUStencilFaceState§stencilReadMask: u32§stencilWriteMask: u32