English中文

BlendingState

混合状态结合 The blending state combines BlendEquation and BlendFunctionand 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

使用 alpha 混合启用混合, 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

使用带有预乘 alpha 的 alpha 混合来启用混合, 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.