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.