Kanzi 4.0.0-beta2
shadercompiler.hpp File Reference

Classes

struct  kanzi::ShaderCompiler::CompileResult
 Result type of the compile operation. More...
 
class  kanzi::ShaderCompiler
 Provides the interface for a shader compiler that prepares the GLSL shader source code so that it conforms to the Vulkan GLSL extension (https://github.com/KhronosGroup/GLSL/blob/master/extensions/khr/GL_KHR_vulkan_glsl.txt) for use with the KzGFx library. More...
 
struct  kanzi::ShaderCompiler::ShaderErrors
 Shader compilation error messages. More...
 
struct  kanzi::ShaderCompiler::ShaderIncludeResult
 When providing custom shader include logic, communicates the result of a shader include operation. More...
 
struct  kanzi::ShaderCompiler::ShaderSource
 Shader input data for a shader stage. More...
 
struct  kanzi::ShaderCompiler::StageResult
 Shader compiler results for a single stage. More...
 

Namespaces

namespace  kanzi
 

Macros

#define KZ_LOG_CATEGORY_SHADERCOMPILER
 

Functions

 kanzi::KZ_ENABLE_BITMASK_OPERATORS (ShaderCompiler::OptionFlags)
 
KANZI_SHADERCOMPILER_API unique_ptr< ShaderCompilerkanzi::makeShaderCompiler ()
 Creates an instance of the ShaderCompiler that you can use for compilation.
 

Macro Definition Documentation

◆ KZ_LOG_CATEGORY_SHADERCOMPILER

#define KZ_LOG_CATEGORY_SHADERCOMPILER