콘텐츠로 이동

BitmapAlphaMode enumeration

이 콘텐츠는 아직 번역되지 않았습니다.

Backend-agnostic representation of how a bitmap’s alpha channel is interpreted.

public enum BitmapAlphaMode
name value description
Ignore 0 The alpha channel is unused and every pixel is treated as fully opaque.
Straight 1 The alpha channel carries straight (non-premultiplied) coverage; RGB values are the original colors and alpha multiplies them at sample time.
Premultiplied 2 The alpha channel carries premultiplied coverage; RGB values are already multiplied by alpha, so the consumer blends without an extra multiply step.