BlendFunction

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

static constant Cesium.BlendFunction.CONSTANT_ALPHA : number

The blend factor is the constant alpha.
Default Value: WebGLConstants.CONSTANT_ALPHA

static constant Cesium.BlendFunction.CONSTANT_COLOR : number

The blend factor is the constant color.
Default Value: WebGLConstants.CONSTANT_COLOR

static constant Cesium.BlendFunction.DESTINATION_ALPHA : number

The blend factor is the destination alpha.
Default Value: WebGLConstants.DST_ALPHA

static constant Cesium.BlendFunction.DESTINATION_COLOR : number

The blend factor is the destination color.
Default Value: WebGLConstants.DST_COLOR

static constant Cesium.BlendFunction.ONE : number

The blend factor is one.
Default Value: WebGLConstants.ONE

static constant Cesium.BlendFunction.ONE_MINUS_CONSTANT_ALPHA : number

The blend factor is one minus the constant alpha.
Default Value: WebGLConstants.ONE_MINUS_CONSTANT_ALPHA

static constant Cesium.BlendFunction.ONE_MINUS_CONSTANT_COLOR : number

The blend factor is one minus the constant color.
Default Value: WebGLConstants.ONE_MINUS_CONSTANT_COLOR

static constant Cesium.BlendFunction.ONE_MINUS_DESTINATION_ALPHA : number

The blend factor is one minus the destination alpha.
Default Value: WebGLConstants.ONE_MINUS_DST_ALPHA

static constant Cesium.BlendFunction.ONE_MINUS_DESTINATION_COLOR : number

The blend factor is one minus the destination color.
Default Value: WebGLConstants.ONE_MINUS_DST_COLOR

static constant Cesium.BlendFunction.ONE_MINUS_SOURCE_ALPHA : number

The blend factor is one minus the source alpha.
Default Value: WebGLConstants.ONE_MINUS_SRC_ALPHA

static constant Cesium.BlendFunction.ONE_MINUS_SOURCE_COLOR : number

The blend factor is one minus the source color.
Default Value: WebGLConstants.ONE_MINUS_SRC_COLOR

static constant Cesium.BlendFunction.SOURCE_ALPHA : number

The blend factor is the source alpha.
Default Value: WebGLConstants.SRC_ALPHA

static constant Cesium.BlendFunction.SOURCE_ALPHA_SATURATE : number

The blend factor is the saturated source alpha.
Default Value: WebGLConstants.SRC_ALPHA_SATURATE

static constant Cesium.BlendFunction.SOURCE_COLOR : number

The blend factor is the source color.
Default Value: WebGLConstants.SRC_COLOR

static constant Cesium.BlendFunction.ZERO : number

The blend factor is zero.
Default Value: WebGLConstants.ZERO
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.