bindVertexArrayObject method

dynamic bindVertexArrayObject(
  1. dynamic vao
)

Implementation

bindVertexArrayObject(vao) {
  if (capabilities.isWebGL2) {
    if (vao != null) {
      return gl.bindVertexArray(vao);
    } else {
      print(" WebGLBindingStates.dart  bindVertexArrayObject VAO is null");
      return;
    }
  }

  return extension.bindVertexArrayOES(vao);
}