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

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.
 

Detailed Description

Shader input data for a shader stage.

Member Data Documentation

◆ stage

gfx::ShaderStage kanzi::ShaderCompiler::ShaderSource::stage

The shader stage, such as vertex, fragment, and so on, that is represented by this object.

◆ source

string_view kanzi::ShaderCompiler::ShaderSource::source

The shader source data.

◆ sourceFile

string_view kanzi::ShaderCompiler::ShaderSource::sourceFile

The name of the source file. Used when creating error messages.


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