SND\AstrorEnales_cp e3be0183e0 - Fixed that a Dx10 effect can be used with multiple techniques
- Implemented DualTextureEffect 100% and added a Sample for it
- Finished the DualTexture.fx for Dx10 (others are coming soon)
- Some other preparations for built in shaders
2012-09-05 19:50:10 +00:00

47 lines
1.6 KiB
C#

using System;
using System.Collections.Generic;
using ANX.Framework.Content.Pipeline.Graphics;
// This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license.
// For details see: http://anxframework.codeplex.com/license
namespace ANX.Framework.Content.Pipeline.Processors
{
public sealed class SpriteFontContent
{
[ContentSerializer(ElementName = "Texture", AllowNull = false)]
internal Texture2DContent Texture { get; private set; }
[ContentSerializer(ElementName = "Glyphs", AllowNull = false)]
internal List<Rectangle> Glyphs { get; private set; }
[ContentSerializer(ElementName = "Cropping", AllowNull = false)]
internal List<Rectangle> Cropping { get; private set; }
[ContentSerializer(ElementName = "CharacterMap", AllowNull = false)]
internal List<char> CharacterMap { get; private set; }
[ContentSerializer(ElementName = "LineSpacing", AllowNull = false)]
internal int LineSpacing { get; set; }
[ContentSerializer(ElementName = "Spacing", AllowNull = false)]
internal float Spacing { get; set; }
[ContentSerializer(ElementName = "Kerning", AllowNull = false)]
internal List<Vector3> Kerning { get; private set; }
[ContentSerializer(ElementName = "DefaultCharacter", AllowNull = true)]
internal char? DefaultCharacter { get; set; }
internal SpriteFontContent()
{
Texture = new Texture2DContent();
Glyphs = new List<Rectangle>();
Cropping = new List<Rectangle>();
CharacterMap = new List<char>();
Kerning = new List<Vector3>();
}
}
}