getShaderPrecisionFormat property

WebGLShaderPrecisionFormat? Function(num, num) get getShaderPrecisionFormat

Implementation

_i3.WebGLShaderPrecisionFormat? Function(
  _i2.num,
  _i2.num,
) get getShaderPrecisionFormat => (
      _i2.num p0,
      _i2.num p1,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'getShaderPrecisionFormat',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        );
set getShaderPrecisionFormat (WebGLShaderPrecisionFormat? value(num, num))

Implementation

set getShaderPrecisionFormat(
    _i3.WebGLShaderPrecisionFormat? Function(
      _i2.num,
      _i2.num,
    ) value) {
  _i4.setProperty(
    this,
    'getShaderPrecisionFormat',
    _i4.allowInterop((
      p0,
      p1,
    ) =>
        () =>
            value(
              p0,
              p1,
            ) ??
            _i6.undefined),
  );
}