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
.
Source:
Scene/BlendingState.js, line 22
Members
-
staticreadonlyBlendingState.ADDITIVE_BLEND :Object
-
Blending is enabled using additive blending,
source(source.alpha) + destination
.Source: Scene/BlendingState.js, line 71 -
staticreadonlyBlendingState.ALPHA_BLEND :Object
-
Blending is enabled using alpha blending,
source(source.alpha) + destination(1 - source.alpha)
.Source: Scene/BlendingState.js, line 39 -
staticreadonlyBlendingState.DISABLED :Object
-
Blending is disabled.Source: Scene/BlendingState.js, line 29
-
staticreadonlyBlendingState.PRE_MULTIPLIED_ALPHA_BLEND :Object
-
Blending is enabled using alpha blending with premultiplied alpha,
source + destination(1 - source.alpha)
.Source: Scene/BlendingState.js, line 55