GPUDepthStencilState
class GPUDepthStencilState
Describes the depth and stencil state for a render pipeline.
Summary
Nested types |
|---|
|
Builder for |
Public constructors |
|---|
GPUDepthStencilState( |
Public properties |
|
|---|---|
Int |
|
Float |
|
Float |
|
Int |
|
Int |
|
Int |
The texture format of the depth-stencil attachment. |
GPUStencilFaceState |
|
GPUStencilFaceState |
|
Int |
|
Int |
Public constructors
GPUDepthStencilState
Added in 1.0.0-alpha05
GPUDepthStencilState(
format: Int = TextureFormat.Undefined,
depthWriteEnabled: Int = OptionalBool.Undefined,
depthCompare: Int = CompareFunction.Undefined,
stencilFront: GPUStencilFaceState = GPUStencilFaceState(),
stencilBack: GPUStencilFaceState = GPUStencilFaceState(),
stencilReadMask: Int = -1,
stencilWriteMask: Int = -1,
depthBias: Int = 0,
depthBiasSlopeScale: Float = 0.0f,
depthBiasClamp: Float = 0.0f
)