GPUStencilFaceState


class GPUStencilFaceState


Defines the state and operations for the front or back face in stencil testing.

Summary

Public constructors

GPUStencilFaceState(compare: Int, failOp: Int, depthFailOp: Int, passOp: Int)

Public properties

Int

The comparison function to pass the stencil test.

Int
Int
Int

Public constructors

GPUStencilFaceState

Added in 1.0.0-alpha02
GPUStencilFaceState(
    compare: Int = CompareFunction.Always,
    failOp: Int = StencilOperation.Keep,
    depthFailOp: Int = StencilOperation.Keep,
    passOp: Int = StencilOperation.Keep
)

Public properties

compare

Added in 1.0.0-alpha02
var compareInt

The comparison function to pass the stencil test.

depthFailOp

Added in 1.0.0-alpha02
var depthFailOpInt

failOp

Added in 1.0.0-alpha02
var failOpInt

passOp

Added in 1.0.0-alpha02
var passOpInt