混合状态结合 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
使用添加剂混合来实现混合, Blending is enabled using additive blending,
source(source.alpha) + destination.
使用 alpha 混合启用混合, Blending is enabled using alpha blending,
source(source.alpha) + destination(1 - source.alpha).
混合已禁用。 Blending is disabled.
使用带有预乘 alpha 的 alpha 混合来启用混合, Blending is enabled using alpha blending with premultiplied alpha,
source + destination(1 - source.alpha).
