Class FontTextureProcessor
- Assembly
- MonoGame.Framework.Content.Pipeline.dll
[ContentProcessor(DisplayName = "Font Texture - MonoGame")]
public class FontTextureProcessor : ContentProcessor<Texture2DContent, SpriteFontContent>, IContentProcessor
- Inheritance
-
FontTextureProcessor
- Implements
- Inherited Members
Constructors
FontTextureProcessor()
public FontTextureProcessor()
Properties
FirstCharacter
public virtual char FirstCharacter { get; set; }
Property Value
PremultiplyAlpha
public virtual bool PremultiplyAlpha { get; set; }
Property Value
TextureFormat
public virtual TextureProcessorOutputFormat TextureFormat { get; set; }
Property Value
Methods
GetCharacterForIndex(int)
protected virtual char GetCharacterForIndex(int index)
Parameters
index
int
Returns
Process(Texture2DContent, ContentProcessorContext)
Processes the specified input data and returns the result.
public override SpriteFontContent Process(Texture2DContent input, ContentProcessorContext context)
Parameters
input
Texture2DContentExisting content object being processed.
context
ContentProcessorContextContains any required custom process parameters.
Returns
- SpriteFontContent
A typed object representing the processed input.