bindBuffer method

void bindBuffer(
  1. int target,
  2. Buffer? buffer
)

Implementation

void bindBuffer(int target, Buffer? buffer) {
  startCheck('bindBuffer');
  gl.glBindBuffer(target, buffer?.id ?? 0);
  checkError('bindBuffer');
}