vertex_shader top-level constant

String const vertex_shader

Implementation

const vertex_shader = """
#version 300 es
precision mediump float;

in vec4 Position;
in vec2 TextureCoords;
out vec2 TextureCoordsVarying;

uniform mat4 matrix;

void main (void) {
    gl_Position = matrix * Position;
    TextureCoordsVarying = TextureCoords;
}

""";