bindVertexArrayObject method
dynamic
bindVertexArrayObject(
- 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);
}