createBuffer method

dynamic createBuffer()

Implementation

createBuffer() {
  Pointer<Uint32> bufferId = calloc<Uint32>();
  glGenBuffers(1, bufferId);
  int _v = bufferId.value;
  calloc.free(bufferId);
  return Buffer._create(_v);
}