24 #include <flw/Config.h> 36 #if defined(FILLWAVE_BACKEND_OPENGL_ES_20) 37 const std::string mGLVersion =
"#version 300 es\n";
38 const std::string mGLVaryingIn =
"in";
39 const std::string mGLVaryingOut =
"out";
40 #elif defined(FILLWAVE_BACKEND_OPENGL_ES_30) 41 const std::string mGLVersion =
"#version 300 es\n";
42 const std::string mGLVaryingIn =
"in";
43 const std::string mGLVaryingOut =
"out";
44 #elif defined(FILLWAVE_BACKEND_OPENGL_45) 45 const std::string mGLVersion =
"#version 450 core\n";
46 const std::string mGLVaryingIn =
"in";
47 const std::string mGLVaryingOut =
"out";
48 #elif defined(FILLWAVE_BACKEND_OPENGL_33) 49 const std::string mGLVersion =
"#version 330 core\n";
50 const std::string mGLVaryingIn =
"in";
51 const std::string mGLVaryingOut =
"out";
53 #error "OpenGL version not supported by this loader" 55 const std::string mGLFragmentPrecision =
"precision lowp float;\n";
56 const std::string mGLVertexPrecision =
"precision mediump float;\n";
Loads shader sources.
Definition: ShaderLoader.h:34