Shader input data for a shader stage. More...
#include <kanzi/shadercompiler/shadercompiler.hpp>
Public Attributes | |
| string_view | source |
| The shader source data. | |
| string_view | sourceFile |
| The name of the source file. Used when creating error messages. | |
| gfx::ShaderStage | stage |
| The shader stage, such as vertex, fragment, and so on, that is represented by this object. | |
Shader input data for a shader stage.
| gfx::ShaderStage kanzi::ShaderCompiler::ShaderSource::stage |
The shader stage, such as vertex, fragment, and so on, that is represented by this object.
| string_view kanzi::ShaderCompiler::ShaderSource::source |
The shader source data.
| string_view kanzi::ShaderCompiler::ShaderSource::sourceFile |
The name of the source file. Used when creating error messages.