Result type of the compile operation. More...
#include <kanzi/shadercompiler/shadercompiler.hpp>
Public Attributes | |
| optional< ShaderErrors > | errors |
| Contains the compilation errors. | |
| optional< gfx::reflection::ReflectionInfo > | info |
| The combined reflection information for the shader program, if requested by the EmitReflection option. | |
| VectorMap< gfx::ShaderFormat, ProgramResults > | shaders |
| The list of compilation results per requested format. | |
Result type of the compile operation.
| optional<gfx::reflection::ReflectionInfo> kanzi::ShaderCompiler::CompileResult::info |
The combined reflection information for the shader program, if requested by the EmitReflection option.
| VectorMap<gfx::ShaderFormat, ProgramResults> kanzi::ShaderCompiler::CompileResult::shaders |
The list of compilation results per requested format.
| optional<ShaderErrors> kanzi::ShaderCompiler::CompileResult::errors |
Contains the compilation errors.
If this optional has a value, the compile has failed and the other fields in this structure do not contain valid data.