fragmentShaderSource property Null safety

String fragmentShaderSource
override

Implementation

@override
String get fragmentShaderSource => '''

  precision mediump float;
  uniform sampler2D uSampler;
  varying vec2 vTextCoord;
  varying float vAlpha;

  void main() {
    gl_FragColor = texture2D(uSampler, vTextCoord) * vAlpha;
  }
  ''';