public void GenBuffers(int count, out int buffers)
 {
     forwarding.GenBuffers(count, out buffers);
     CheckGLError();
     GLCALLS++;
 }
 public ShortIndexBuffer(IGraphicsContext context, BufferUsageHint hint)
 {
     this.context = context;
     this.hint = hint;
     context.GenBuffers(1, out Handle);
 }
Exemple #3
0
 public IntIndexBuffer(IGraphicsContext context, BufferUsageHint hint)
 {
     this.context = context;
     this.hint    = hint;
     context.GenBuffers(1, out Handle);
 }