Kanzi  3.9.7
Kanzi Engine API
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, string_view source)
 
 ShaderStage (ShaderType type, const char *source)
 

Public Attributes

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

Detailed Description

One shader stage in source code format.

Since
Kanzi 3.9.6

Constructor & Destructor Documentation

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

Member Data Documentation

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

Type of shader.

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

Shader source code.


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