2020-12-07 09:30:09 +00:00
|
|
|
using Microsoft.Xna.Framework.Graphics;
|
|
|
|
|
|
|
|
namespace Kav
|
|
|
|
{
|
|
|
|
public static class VertexDeclarations
|
|
|
|
{
|
|
|
|
public static VertexDeclaration GBufferInstanceDeclaration = new VertexDeclaration
|
|
|
|
(
|
2020-12-07 22:42:02 +00:00
|
|
|
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)
|
2020-12-07 09:30:09 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|