StencilStyle
data class StencilStyle(var stencilFailOperation: StencilOperation = StencilOperation.KEEP, var depthFailOperation: StencilOperation = StencilOperation.KEEP, var depthPassOperation: StencilOperation = StencilOperation.KEEP, var stencilTestMask: Int = 255, var stencilTestReference: Int = 0, var stencilWriteMask: Int = 255, var stencilTest: StencilTest = StencilTest.DISABLED)(source)
Constructors
Link copied to clipboard
constructor(stencilFailOperation: StencilOperation = StencilOperation.KEEP, depthFailOperation: StencilOperation = StencilOperation.KEEP, depthPassOperation: StencilOperation = StencilOperation.KEEP, stencilTestMask: Int = 255, stencilTestReference: Int = 0, stencilWriteMask: Int = 255, stencilTest: StencilTest = StencilTest.DISABLED)
Functions
Link copied to clipboard
Link copied to clipboard
fun stencilOp(onStencilTestFail: StencilOperation, onDepthTestFail: StencilOperation, onDepthTestPass: StencilOperation)