Table of Contents

Class DefaultColorProcessors

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

Represents the default processors used in processing color values. This class cannot be inherited.

public static class DefaultColorProcessors
Inheritance
DefaultColorProcessors
Inherited Members

Fields

PremultiplyAlpha

Premultiplies the RGB component value of each color by the its alpha component.

public static readonly Action<byte[]> PremultiplyAlpha

Field Value

Action<byte[]>

ZeroTransparentPixels

Sets the RGB component values of each color to zero if the alpha component is zero.

public static readonly Action<byte[]> ZeroTransparentPixels

Field Value

Action<byte[]>

Remarks

This is standard XNA behavior.