libdonut  2.3.2
Application framework for cross-platform game development in C++20
Public Attributes | List of all members
donut::graphics::ShaderProgramOptions Struct Reference

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...
 

Detailed Description

Configuration options for a ShaderProgram.

Member Data Documentation

◆ definitions

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.

◆ vertexShaderSourceCode

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.

◆ fragmentShaderSourceCode

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.


The documentation for this struct was generated from the following file: