1.0.14
NUGET-Changes: + Materials now have a method to draw. That should allow more freedom on how materials can have a effect on the resulting shader. ~ PostProcessEffect.Draw now needs a source ColorAttachment. ~ Added some missing summaries GIT-/SOLUTION-Changes: Remade the folder structure, to something more senseable.
This commit is contained in:
parent
db7f01dca1
commit
89de4258e1
181 changed files with 584 additions and 698 deletions
37
src/renderer/SM.Base/Drawing/Text/CharParameter.cs
Normal file
37
src/renderer/SM.Base/Drawing/Text/CharParameter.cs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
#region usings
|
||||
|
||||
using System;
|
||||
using OpenTK;
|
||||
|
||||
#endregion
|
||||
|
||||
namespace SM.Base.Drawing.Text
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains information for a font character.
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public struct CharParameter
|
||||
{
|
||||
/// <summary>
|
||||
/// The advance on the X-axis.
|
||||
/// </summary>
|
||||
public int Advance;
|
||||
|
||||
/// <summary>
|
||||
/// The bearing for this char.
|
||||
/// </summary>
|
||||
public float BearingX;
|
||||
|
||||
/// <summary>
|
||||
/// The width of the character.
|
||||
/// </summary>
|
||||
public float Width;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Matrix for the texture.
|
||||
/// </summary>
|
||||
public Matrix3 TextureMatrix;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue