Appearance
KBE3D / KBCore / Cesium / BlendingState
BlendingState
The blending state combines BlendEquation and BlendFunction and the <code>enabled</code> flag to define the full blending state for combining source and destination fragments when rendering. <p> This is a helper when using custom render states with Appearance#renderState. </p>
变量
| 变量 | 描述 |
|---|---|
| DISABLED | Blending is disabled. |
| ALPHA_BLEND | Blending is enabled using alpha blending, source(source.alpha) + destination(1 - source.alpha). |
| PRE_MULTIPLIED_ALPHA_BLEND | Blending is enabled using alpha blending with premultiplied alpha, source + destination(1 - source.alpha). |
| ADDITIVE_BLEND | Blending is enabled using additive blending, source(source.alpha) + destination. |
