enum BlendFactor : Enum<BlendFactor>
| Member | Description |
|---|---|
ZERO |
This coefficient will result in a value of 0.
|
ONE |
This coefficient will leave the value unchanged.
|
SOURCE_ALPHA |
Will multiply value with the source alpha
|
ONE_MINUS_SOURCE_ALPHA |
Will multiply the value with the inverse of source alpha
|
DESTINATION_ALPHA |
Will multiply value with destination alpha
|
ONE_MINUS_DESTINATION_ALPHA |
Will multiply value with 1 minus the destination alpha
|
factor
: Int
[Get] |
Signature
val factor: Int |
fromInt
(
factor
)
|
Returns the blend factor corresponding to the given integer value.
Signature
fun fromInt(factor: Int): BlendFactor Parameters
factor:
Int
Throws
IllegalArgumentException
|