Skip to content

GPUBlendFactor

=== "common" Defines the source or destination factor used to scale color and alpha values during blending. === "commonNative" Defines the source or destination factor used to scale color and alpha values during blending. === "web" Defines the source or destination factor used to scale color and alpha values during blending.

Entries

Zero

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

One

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

Src

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

OneMinusSrc

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

SrcAlpha

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

OneMinusSrcAlpha

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

Dst

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

OneMinusDst

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

DstAlpha

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

OneMinusDstAlpha

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

SrcAlphaSaturated

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

Constant

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

OneMinusConstant

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

Src1

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

OneMinusSrc1

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

Src1Alpha

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

OneMinusSrc1Alpha

=== "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): GPUBlendFactor
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<GPUBlendFactor>
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.