]> git.sesse.net Git - movit/blob - bundled_shaders.h
Compile shaders into the library.
[movit] / bundled_shaders.h
1 #ifndef _MOVIT_BUNDLED_SHADERS_H
2 #define _MOVIT_BUNDLED_SHADERS_H 1
3
4 // Shader files that are compiled into the library.
5
6 namespace movit {
7
8 struct BundledShader {
9         const char *filename;  // nullptr for end.
10         size_t offset;  // Into shader_bundle.
11         size_t length;
12 };
13 extern BundledShader bundled_shaders[];
14 extern const char *shader_bundle;
15
16 }  // namespace movit
17
18 #endif  // _MOVIT_BUNDLED_SHADERS_H