getMethod method

dynamic getMethod(
  1. dynamic method
)
override

Implementation

getMethod(method) {
  if (wgslPolyfill[method] != undefined) {
    this._include(method);
  }

  return wgslMethods[method] ?? method;
}