libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Configuration options for a ShaderProgram. More...
#include <donut/graphics/ShaderProgram.hpp>
Public Attributes | |
const char * | definitions = nullptr |
Non-owning pointer to GLSL source code for constant definitions to add to the beginning of the source code, or nullptr to not add any definitions. More... | |
const char * | vertexShaderSourceCode = nullptr |
Non-owning pointer to the GLSL source code for the vertex shader stage, or nullptr to use the built-in vertex pipeline. More... | |
const char * | fragmentShaderSourceCode = nullptr |
Non-owning pointer to the GLSL source code for the fragment shader stage, or nullptr to use the built-in fragment pipeline. More... | |
Configuration options for a ShaderProgram.
const char* donut::graphics::ShaderProgramOptions::definitions = nullptr |
Non-owning pointer to GLSL source code for constant definitions to add to the beginning of the source code, or nullptr to not add any definitions.
const char* donut::graphics::ShaderProgramOptions::vertexShaderSourceCode = nullptr |
Non-owning pointer to the GLSL source code for the vertex shader stage, or nullptr to use the built-in vertex pipeline.
const char* donut::graphics::ShaderProgramOptions::fragmentShaderSourceCode = nullptr |
Non-owning pointer to the GLSL source code for the fragment shader stage, or nullptr to use the built-in fragment pipeline.