混合状态结合了
BlendEquation
和BlendFunction
和
enabled
标志,用于定义组合源和
呈现时的目标碎片。
This is a helper when using custom render states with Appearance#renderState
.
Members
使用添加剂混合
source(source.alpha) + destination
启用混合。使用alpha混合
source(source.alpha) + destination(1 - source.alpha)
启用混合。混合被禁用。
使用预乘alpha混合
source + destination(1 - source.alpha)
启用混合。