Skip to content

GraphicsAPI reference

Enum AlphaMode

Namespace: MicroEngine.Graphics.Devices
Assembly: MicroEngine.Graphics.dll
Guide: The graphics device

How the colour channels of texel data relate to alpha.

C#
public enum AlphaMode

Fields

Premultiplied = 0

Colour already multiplied by alpha: the engine-wide default, what the built-in blend states assume.

Straight = 1

Colour not multiplied by alpha. The device does not convert: content tools premultiply on import.