Table of Contents

Class FontTextureProcessor

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Processors
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

char

PremultiplyAlpha

public virtual bool PremultiplyAlpha { get; set; }

Property Value

bool

TextureFormat

public virtual TextureProcessorOutputFormat TextureFormat { get; set; }

Property Value

TextureProcessorOutputFormat

Methods

GetCharacterForIndex(int)

protected virtual char GetCharacterForIndex(int index)

Parameters

index int

Returns

char

Process(Texture2DContent, ContentProcessorContext)

Processes the specified input data and returns the result.

public override SpriteFontContent Process(Texture2DContent input, ContentProcessorContext context)

Parameters

input Texture2DContent

Existing content object being processed.

context ContentProcessorContext

Contains any required custom process parameters.

Returns

SpriteFontContent

A typed object representing the processed input.