oes_fragment_shader top-level constant

String const oes_fragment_shader

Implementation

const oes_fragment_shader  = """
#version 300 es
#extension GL_OES_EGL_image_external_essl3 : enable

precision mediump float;
uniform samplerExternalOES Texture0;
in vec2 TextureCoordsVarying;

out vec4 fragColor;

void main (void) {
  vec4 mask = texture(Texture0, TextureCoordsVarying);
  fragColor = mask;
}
""";