Shader macro structure with name and optional body definition.
More...
#include <ShaderFlags.h>
|
| const char * | name = nullptr |
| | Specifies the name of the macro. This must not be null.
|
| const char * | definition = nullptr |
| | Specifies the macro definition. If this is null, the macro has no body definition.
|
Shader macro structure with name and optional body definition.
- See also
- ShaderDescriptor::defines
◆ ShaderMacro() [1/2]
| LLGL::ShaderMacro::ShaderMacro |
( |
| ) |
|
|
default |
◆ ShaderMacro() [2/2]
| LLGL::ShaderMacro::ShaderMacro |
( |
const char * | name, |
|
|
const char * | definition = nullptr ) |
|
inline |
Constructor to initialize the shader macro with a name and an optional body definition.
◆ definition
| const char* LLGL::ShaderMacro::definition = nullptr |
Specifies the macro definition. If this is null, the macro has no body definition.
◆ name
| const char* LLGL::ShaderMacro::name = nullptr |
Specifies the name of the macro. This must not be null.
The documentation for this struct was generated from the following file: