public void DisposeIndexBuffer(HardwareBuffer buffer) { indexBuffers.Remove(buffer); buffer.Dispose(); }
public void DisposeVertexBuffer(HardwareBuffer buffer) { vertexBuffers.Remove(buffer); buffer.Dispose(); }