Aller au contenu

GPULoadOp

=== "common"
expect enum GPULoadOp : Enum<GPULoadOp> 
    
Selects whether a render pass clears an attachment or loads its existing contents. === "commonNative"
actual enum GPULoadOp : Enum<GPULoadOp> 
    
Selects whether a render pass clears an attachment or loads its existing contents. === "web"
actual enum GPULoadOp : Enum<GPULoadOp> 
    
Selects whether a render pass clears an attachment or loads its existing contents.

Entries

Load

=== "common" === "commonNative" === "web"

Clear

=== "common" === "commonNative" === "web"

Types

Companion

object Companion
object Companion

Properties

entries

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

expect val name: String
expect val name: String
expect val name: String

ordinal

expect val ordinal: Int
expect val ordinal: Int
expect val ordinal: Int

value

Functions

valueOf

expect fun valueOf(value: String): GPULoadOp
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<GPULoadOp>
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.