blob: 5b25e0a712bead2ef74769f03230ed07682da909 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
changecom()dnl
// NAME
#include "substr(TYPE,1)-NAME.h"
#include <GL/glew.h>
#include "gfx/gl/shader.h"
#include "lib/strings.hpp"
constexpr const GLchar * src { R"GLSL-EMBED(dnl
include(SOURCE))GLSL-EMBED" };
constexpr auto len { constexpr_strlen (src) };
const Shader NAME`_'substr(TYPE,1) { src, len, GLTYPE };
|