10layout(location = 0) out vec3 fragColor;
12vec2 positions[3] = vec2[](
18vec3 colors[3] = vec3[](
25 gl_Position = vec4(positions[gl_VertexIndex], 0.0, 1.0);
26 fragColor = colors[gl_VertexIndex];
34layout(location = 0) in vec3 fragColor;
36layout(location = 0) out vec4 outColor;
39 outColor = vec4(fragColor, 1.0);
Definition editor_scene.hpp:5
std::string_view const TRIANGLE_FRAG_SHADER
Definition triangle.hpp:31
std::string_view const TRIANGLE_VERT_SHADER
Definition triangle.hpp:7