English | 简体中文

BlendingState

The blending state combines BlendEquation and BlendFunction and the enabled flag to define the full blending state for combining source and destination fragments when rendering.

This is a helper when using custom render states with Appearance#renderState.

Members

static constant Cesium.BlendingState.ADDITIVE_BLEND : object

Blending is enabled using additive blending, source(source.alpha) + destination.

static constant Cesium.BlendingState.ALPHA_BLEND : object

Blending is enabled using alpha blending, source(source.alpha) + destination(1 - source.alpha).

static constant Cesium.BlendingState.DISABLED : object

Blending is disabled.

static constant Cesium.BlendingState.PRE_MULTIPLIED_ALPHA_BLEND : object

Blending is enabled using alpha blending with premultiplied alpha, source + destination(1 - source.alpha).
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.