webGLShader top-level property

dynamic webGLShader

The WebGLShader is part of the WebGL API and can either be a vertex or a fragment shader. A WebGLProgram requires both types of shaders.

MDN Reference

Implementation

_i2.dynamic get webGLShader => _i4.getProperty(
      _self,
      'WebGLShader',
    );