Add support for signed and unsigned integer vertex attributes.
This commit is contained in:
@@ -45,9 +45,9 @@ namespace OpenRA.Graphics
|
||||
|
||||
public override ShaderVertexAttribute[] Attributes { get; } = new[]
|
||||
{
|
||||
new ShaderVertexAttribute("aVertexPosition", 3, 0),
|
||||
new ShaderVertexAttribute("aVertexTexCoord", 4, 12),
|
||||
new ShaderVertexAttribute("aVertexTexMetadata", 2, 28),
|
||||
new ShaderVertexAttribute("aVertexPosition", ShaderVertexAttributeType.Float, 3, 0),
|
||||
new ShaderVertexAttribute("aVertexTexCoord", ShaderVertexAttributeType.Float, 4, 12),
|
||||
new ShaderVertexAttribute("aVertexTexMetadata", ShaderVertexAttributeType.Float, 2, 28),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user