openrndr / org.openrndr.draw / StencilStyle

StencilStyle

class StencilStyle (source)

Constructors

<init>

StencilStyle()

Properties

depthFailOperation

var depthFailOperation: StencilOperation

depthPassOperation

var depthPassOperation: StencilOperation

stencilFailOperation

var stencilFailOperation: StencilOperation

stencilTest

var stencilTest: StencilTest

stencilTestMask

var stencilTestMask: Int

stencilTestReference

var stencilTestReference: Int

stencilWriteMask

var stencilWriteMask: Int

Functions

stencilFunc

fun stencilFunc(stencilTest: StencilTest, testReference: Int, writeMask: Int): Unit

stencilOp

fun stencilOp(onStencilTestFail: StencilOperation, onDepthTestFail: StencilOperation, onDepthTestPass: StencilOperation): Unit