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