getUniformLocation property

WebGLUniformLocation? Function(WebGLProgram, String) get getUniformLocation

Implementation

_i3.WebGLUniformLocation? Function(
  _i3.WebGLProgram,
  _i2.String,
) get getUniformLocation => (
      _i3.WebGLProgram p0,
      _i2.String p1,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'getUniformLocation',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        );
set getUniformLocation (WebGLUniformLocation? value(WebGLProgram, String))

Implementation

set getUniformLocation(
    _i3.WebGLUniformLocation? Function(
      _i3.WebGLProgram,
      _i2.String,
    ) value) {
  _i4.setProperty(
    this,
    'getUniformLocation',
    _i4.allowInterop((
      p0,
      p1,
    ) =>
        () =>
            value(
              p0,
              p1,
            ) ??
            _i6.undefined),
  );
}