Initialise VertexBuffers immediately
This commit is contained in:
@@ -83,7 +83,8 @@ namespace OpenRA
|
||||
|
||||
public interface IGraphicsContext : IDisposable
|
||||
{
|
||||
IVertexBuffer<T> CreateVertexBuffer<T>(int size) where T : struct;
|
||||
IVertexBuffer<T> CreateEmptyVertexBuffer<T>(int size) where T : struct;
|
||||
IVertexBuffer<T> CreateVertexBuffer<T>(T[] data, bool dynamic = true) where T : struct;
|
||||
T[] CreateVertices<T>(int size) where T : struct;
|
||||
IIndexBuffer CreateIndexBuffer(uint[] indices);
|
||||
ITexture CreateTexture();
|
||||
|
||||
Reference in New Issue
Block a user