API reference
API reference
Select your platform
No SDKs available
No versions available

BlendFactor

BlendFactor

enum BlendFactor : Enum<BlendFactor>
Defines the coefficient to multiply in layer blending. "Source" refers to the layer you are currently compositing and "destination" refers to whatever is already in the buffer.
Keep in sync with BlendFactor in Layer.h

Entries

Types

NameSummary
Companion
object Companion

Properties

NameSummary
factor
val factor: Int
name
val name: String
ordinal
val ordinal: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): BlendFactor
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.)
values
fun values(): Array<BlendFactor>
Returns an array containing the constants of this enum type, in the order they’re declared.

Companion

object Companion

Functions

NameSummary
fromInt
fun fromInt(factor: Int): BlendFactor
Did you find this page helpful?
Thumbs up icon
Thumbs down icon