MapLibre Native Core
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
shader_source.hpp
Go to the documentation of this file.
1 // Generated code, do not modify this file!
2 // Generated on 2023-04-05T16:25:15.886Z by mwilsnd using shaders/generate_shader_code.js
3 
4 #pragma once
5 #include <mbgl/gfx/backend.hpp>
6 
7 namespace mbgl {
8 namespace shaders {
9 
12 enum class BuiltIn {
13  None,
14  Prelude,
41 };
42 
48 template <BuiltIn T, gfx::Backend::Type> struct ShaderSource;
49 
52  static constexpr const char* vertex = "";
53  static constexpr const char* fragment = "";
54 };
55 
56 } // namespace shaders
57 } // namespace mbgl
@ OpenGL
The OpenGL API backend.
BuiltIn
This enum is used with the ShaderSource template to select source code for the desired program and gr...
Definition: actor.hpp:15
Select shader source based on a program type and a desired graphics API.