GPUStencilOperation¶
=== "common"
Selects the operation applied to stencil values when a stencil test succeeds or fails.
=== "commonNative"
Selects the operation applied to stencil values when a stencil test succeeds or fails.
=== "web"
Selects the operation applied to stencil values when a stencil test succeeds or fails.
expect enum GPUStencilOperation : Enum<GPUStencilOperation>
actual enum GPUStencilOperation : Enum<GPUStencilOperation>
actual enum GPUStencilOperation : Enum<GPUStencilOperation>
Entries¶
Keep¶
Zero¶
Replace¶
Invert¶
IncrementClamp¶
DecrementClamp¶
IncrementWrap¶
DecrementWrap¶
Types¶
Companion¶
object Companion
object Companion
Properties¶
entries¶
expect val entries: EnumEntries<GPUStencilOperation>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
This method may be used to iterate over the enum entries.
name¶
ordinal¶
value¶
Functions¶
valueOf¶
expect fun valueOf(value: String): GPUStencilOperation
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
**Throws**
[`kotlin.IllegalArgumentException`](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html)
: if this enum type has no constant with the specified name
values¶
expect fun values(): Array<GPUStencilOperation>
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.