Add StaticIndexBuffer
This commit is contained in:
committed by
Matthias Mailänder
parent
7e9619b41b
commit
f6c1453b5b
@@ -68,6 +68,12 @@ namespace OpenRA.Platforms.Default
|
||||
return new VertexBuffer<Vertex>(size);
|
||||
}
|
||||
|
||||
public IIndexBuffer CreateIndexBuffer(uint[] indices)
|
||||
{
|
||||
VerifyThreadAffinity();
|
||||
return new StaticIndexBuffer(indices);
|
||||
}
|
||||
|
||||
public Vertex[] CreateVertices(int size)
|
||||
{
|
||||
VerifyThreadAffinity();
|
||||
|
||||
Reference in New Issue
Block a user