Kanzi 4.0.0-beta2
kanzi::ShaderCompiler::CompileResult Struct Reference

Result type of the compile operation. More...

#include <kanzi/shadercompiler/shadercompiler.hpp>

Public Attributes

optional< ShaderErrorserrors
 Contains the compilation errors.
 
optional< gfx::reflection::ReflectionInfoinfo
 The combined reflection information for the shader program, if requested by the EmitReflection option.
 
VectorMap< gfx::ShaderFormat, ProgramResultsshaders
 The list of compilation results per requested format.
 

Detailed Description

Result type of the compile operation.

Member Data Documentation

◆ info

optional<gfx::reflection::ReflectionInfo> kanzi::ShaderCompiler::CompileResult::info

The combined reflection information for the shader program, if requested by the EmitReflection option.

◆ shaders

VectorMap<gfx::ShaderFormat, ProgramResults> kanzi::ShaderCompiler::CompileResult::shaders

The list of compilation results per requested format.

◆ errors

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.


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