Kanzi 3.9.10
kanzi::ShaderProgram::CreateInfo::ShaderStage Struct Reference

One shader stage in source code format. More...

#include <kanzi/core.ui/platform/graphics_backend/gl/shader_create_info.hpp>

Public Member Functions

 ShaderStage (ShaderType type, const char *source)
 
 ShaderStage (ShaderType type, string_view source)
 

Public Attributes

string shaderSource
 Shader source code.
 
ShaderType shaderType
 Type of shader.
 

Detailed Description

One shader stage in source code format.

Since
Kanzi 3.9.6

Constructor & Destructor Documentation

◆ ShaderStage() [1/2]

kanzi::ShaderProgram::CreateInfo::ShaderStage::ShaderStage ( ShaderType type,
string_view source )
inline

◆ ShaderStage() [2/2]

kanzi::ShaderProgram::CreateInfo::ShaderStage::ShaderStage ( ShaderType type,
const char * source )
inline

Member Data Documentation

◆ shaderType

ShaderType kanzi::ShaderProgram::CreateInfo::ShaderStage::shaderType

Type of shader.

◆ shaderSource

string kanzi::ShaderProgram::CreateInfo::ShaderStage::shaderSource

Shader source code.


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