Kanzi  3.9.6
Kanzi Engine API
kanzi::ShaderProgram::CreateInfo::BinaryShaderStage Struct Reference

One shader stage in binary format. More...

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

Public Member Functions

 BinaryShaderStage (ShaderType type, const ConstByteSpan &data)
 

Public Attributes

vector< byteshaderBinary
 Shader binary. More...
 
ShaderType shaderType
 Type of shader. More...
 

Detailed Description

One shader stage in binary format.

Since
Kanzi 3.9.6

Constructor & Destructor Documentation

◆ BinaryShaderStage()

kanzi::ShaderProgram::CreateInfo::BinaryShaderStage::BinaryShaderStage ( ShaderType  type,
const ConstByteSpan data 
)
inline

Member Data Documentation

◆ shaderType

ShaderType kanzi::ShaderProgram::CreateInfo::BinaryShaderStage::shaderType

Type of shader.

◆ shaderBinary

vector<byte> kanzi::ShaderProgram::CreateInfo::BinaryShaderStage::shaderBinary

Shader binary.


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