19 lines
655 B
C#
19 lines
655 B
C#
using Microsoft.Xna.Framework.Graphics;
|
|
|
|
namespace Kav
|
|
{
|
|
public static class VertexDeclarations
|
|
{
|
|
public static VertexDeclaration PositionInstanceDeclaration = new VertexDeclaration
|
|
(
|
|
new VertexElement(0, VertexElementFormat.Vector3, VertexElementUsage.TextureCoordinate, 2)
|
|
);
|
|
|
|
public static VertexDeclaration PositionTextureOffsetInstanceDeclaration = new VertexDeclaration
|
|
(
|
|
new VertexElement(0, VertexElementFormat.Vector3, VertexElementUsage.TextureCoordinate, 2),
|
|
new VertexElement(12, VertexElementFormat.Vector4, VertexElementUsage.Tangent, 0)
|
|
);
|
|
}
|
|
}
|