disable method

dynamic disable(
  1. dynamic id
)

Implementation

disable(id) {
  if (enabledCapabilities[id] != false) {
    gl.disable(id);
    enabledCapabilities[id] = false;
  }
}