bindVertexArrayObject method

dynamic bindVertexArrayObject(
  1. VertexArrayObject? vao
)

Implementation

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

  return extension.bindVertexArrayOES(vao);
}