Table of Contents

Class TextureProcessor

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Processors
Assembly
MonoGame.Framework.Content.Pipeline.dll
[ContentProcessor(DisplayName = "Texture - MonoGame")]
public class TextureProcessor : ContentProcessor<TextureContent, TextureContent>, IContentProcessor
Inheritance
TextureProcessor
Implements
Inherited Members

Constructors

TextureProcessor()

public TextureProcessor()

Properties

ColorKeyColor

public virtual Color ColorKeyColor { get; set; }

Property Value

Color

ColorKeyEnabled

public virtual bool ColorKeyEnabled { get; set; }

Property Value

bool

GenerateMipmaps

public virtual bool GenerateMipmaps { get; set; }

Property Value

bool

MakeSquare

public virtual bool MakeSquare { get; set; }

Property Value

bool

PremultiplyAlpha

public virtual bool PremultiplyAlpha { get; set; }

Property Value

bool

ResizeToPowerOfTwo

public virtual bool ResizeToPowerOfTwo { get; set; }

Property Value

bool

TextureFormat

public virtual TextureProcessorOutputFormat TextureFormat { get; set; }

Property Value

TextureProcessorOutputFormat

Methods

Process(TextureContent, ContentProcessorContext)

Processes the specified input data and returns the result.

public override TextureContent Process(TextureContent input, ContentProcessorContext context)

Parameters

input TextureContent

Existing content object being processed.

context ContentProcessorContext

Contains any required custom process parameters.

Returns

TextureContent

A typed object representing the processed input.