Determines how blending factors are computed.
Properties:
Name | Type | Description |
---|---|---|
ZERO |
Number | The blend factor is zero. |
ONE |
Number | The blend factor is one. |
SOURCE_COLOR |
Number | The blend factor is the source color. |
ONE_MINUS_SOURCE_COLOR |
Number | The blend factor is one minus the source color. |
DESTINATION_COLOR |
Number | The blend factor is the destination color. |
ONE_MINUS_DESTINATION_COLOR |
Number | The blend factor is one minus the destination color. |
SOURCE_ALPHA |
Number | The blend factor is the source alpha. |
ONE_MINUS_SOURCE_ALPHA |
Number | The blend factor is one minus the source alpha. |
DESTINATION_ALPHA |
Number | The blend factor is the destination alpha. |
ONE_MINUS_DESTINATION_ALPHA |
Number | The blend factor is one minus the destination alpha. |
CONSTANT_COLOR |
Number | The blend factor is the constant color. |
ONE_MINUS_CONSTANT_COLOR |
Number | The blend factor is one minus the constant color. |
CONSTANT_ALPHA |
Number | The blend factor is the constant alpha. |
ONE_MINUS_CONSTANT_ALPHA |
Number | The blend factor is one minus the constant alpha. |
SOURCE_ALPHA_SATURATE |
Number | The blend factor is the saturated source alpha. |
Members
The blend factor is the constant alpha.
-
Default Value:
WebGLConstants.CONSTANT_ALPHA
The blend factor is the constant color.
-
Default Value:
WebGLConstants.CONSTANT_COLOR
The blend factor is the destination alpha.
-
Default Value:
WebGLConstants.DST_ALPHA
The blend factor is the destination color.
-
Default Value:
WebGLConstants.DST_COLOR
The blend factor is one.
-
Default Value:
WebGLConstants.ONE
The blend factor is one minus the constant alpha.
-
Default Value:
WebGLConstants.ONE_MINUS_CONSTANT_ALPHA
The blend factor is one minus the constant color.
-
Default Value:
WebGLConstants.ONE_MINUS_CONSTANT_COLOR
The blend factor is one minus the destination alpha.
-
Default Value:
WebGLConstants.ONE_MINUS_DST_ALPHA
The blend factor is one minus the destination color.
-
Default Value:
WebGLConstants.ONE_MINUS_DST_COLOR
The blend factor is one minus the source alpha.
-
Default Value:
WebGLConstants.ONE_MINUS_SRC_ALPHA
The blend factor is one minus the source color.
-
Default Value:
WebGLConstants.ONE_MINUS_SRC_COLOR
The blend factor is the source alpha.
-
Default Value:
WebGLConstants.SRC_ALPHA
The blend factor is the saturated source alpha.
-
Default Value:
WebGLConstants.SRC_ALPHA_SATURATE
The blend factor is the source color.
-
Default Value:
WebGLConstants.SRC_COLOR
The blend factor is zero.
-
Default Value:
WebGLConstants.ZERO