Class TextureProcessor
- 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
ColorKeyEnabled
public virtual bool ColorKeyEnabled { get; set; }
Property Value
GenerateMipmaps
public virtual bool GenerateMipmaps { get; set; }
Property Value
MakeSquare
public virtual bool MakeSquare { get; set; }
Property Value
PremultiplyAlpha
public virtual bool PremultiplyAlpha { get; set; }
Property Value
ResizeToPowerOfTwo
public virtual bool ResizeToPowerOfTwo { get; set; }
Property Value
TextureFormat
public virtual TextureProcessorOutputFormat TextureFormat { get; set; }
Property Value
Methods
Process(TextureContent, ContentProcessorContext)
Processes the specified input data and returns the result.
public override TextureContent Process(TextureContent input, ContentProcessorContext context)
Parameters
input
TextureContentExisting content object being processed.
context
ContentProcessorContextContains any required custom process parameters.
Returns
- TextureContent
A typed object representing the processed input.