16 lines
649 B
C#
16 lines
649 B
C#
using Microsoft.Xna.Framework.Graphics;
|
|
|
|
namespace Kav
|
|
{
|
|
public static class VertexDeclarations
|
|
{
|
|
public static VertexDeclaration GBufferInstanceDeclaration = new VertexDeclaration
|
|
(
|
|
new VertexElement(0, VertexElementFormat.Vector4, VertexElementUsage.TextureCoordinate, 2),
|
|
new VertexElement(16, VertexElementFormat.Vector4, VertexElementUsage.TextureCoordinate, 3),
|
|
new VertexElement(32, VertexElementFormat.Vector4, VertexElementUsage.TextureCoordinate, 4),
|
|
new VertexElement(48, VertexElementFormat.Vector4, VertexElementUsage.TextureCoordinate, 5)
|
|
);
|
|
}
|
|
}
|