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