PremultipliedAlpha
The texture content is alpha-premultiplied.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
PremultipliedAlpha = 2
Remarks
In premultiplied alpha, the RGB channels have been multiplied by the alpha channel. A typical source is a RenderTexture that has had transparent geometry rendered to it using standard alpha blending (e.g. Blend SrcAlpha OneMinusSrcAlpha), which stores premultiplied results. Some operations may require converting to straight alpha by dividing RGB by alpha.