Skip to content

GPUDepthStencilState

[<Interface>]
type GPUDepthStencilState =
    abstract member depthBias: GPUDepthBias option with get, set
    abstract member depthBiasClamp: float option with get, set
    abstract member depthBiasSlopeScale: float option with get, set
    abstract member depthCompare: GPUCompareFunction option with get, set
    abstract member depthWriteEnabled: bool option with get, set
    abstract member format: GPUTextureFormat with get, set
    abstract member stencilBack: GPUStencilFaceState option with get, set
    abstract member stencilFront: GPUStencilFaceState option with get, set
    abstract member stencilReadMask: GPUStencilValue option with get, set
    abstract member stencilWriteMask: GPUStencilValue option with get, set
    static member Create (format: GPUTextureFormat, ?depthBias: GPUDepthBias, ?depthBiasClamp: float, ?depthBiasSlopeScale: float, ?depthCompare: GPUCompareFunction, ?depthWriteEnabled: bool, ?stencilBack: GPUStencilFaceState, ?stencilFront: GPUStencilFaceState, ?stencilReadMask: GPUStencilValue, ?stencilWriteMask: GPUStencilValue) : GPUDepthStencilState
AssemblyGlutinum.Web
Inheritsobj \| null
Attributes[<AllowNullLiteral>] [<Interface>]

Properties

abstract member depthBias: GPUDepthBias option with get, set
abstract member depthBiasClamp: float option with get, set
abstract member depthBiasSlopeScale: float option with get, set
abstract member depthCompare: GPUCompareFunction option with get, set
abstract member depthWriteEnabled: bool option with get, set
abstract member format: GPUTextureFormat with get, set
abstract member stencilBack: GPUStencilFaceState option with get, set
abstract member stencilFront: GPUStencilFaceState option with get, set
abstract member stencilReadMask: GPUStencilValue option with get, set
abstract member stencilWriteMask: GPUStencilValue option with get, set

Methods

static member Create (format: GPUTextureFormat, ?depthBias: GPUDepthBias, ?depthBiasClamp: float, ?depthBiasSlopeScale: float, ?depthCompare: GPUCompareFunction, ?depthWriteEnabled: bool, ?stencilBack: GPUStencilFaceState, ?stencilFront: GPUStencilFaceState, ?stencilReadMask: GPUStencilValue, ?stencilWriteMask: GPUStencilValue) : GPUDepthStencilState