cae  0.0.0
Cross-API graphics engine
Loading...
Searching...
No Matches
cae::ShaderIRModule Struct Reference

Struct for shader intermediate representation module. More...

#include <IShaderFrontend.hpp>

+ Collaboration diagram for cae::ShaderIRModule:

Public Attributes

ShaderID id
 
ShaderStage stage
 
std::vector< uint32_t > spirv
 
std::string entryPoint = "main"
 

Detailed Description

Struct for shader intermediate representation module.

Definition at line 55 of file IShaderFrontend.hpp.

Member Data Documentation

◆ entryPoint

std::string cae::ShaderIRModule::entryPoint = "main"

Definition at line 60 of file IShaderFrontend.hpp.

Referenced by cae::GLSL::compile(), and cae::OPGL::createGLShader().

◆ id

ShaderID cae::ShaderIRModule::id

Definition at line 57 of file IShaderFrontend.hpp.

Referenced by cae::GLSL::compile().

◆ spirv

std::vector<uint32_t> cae::ShaderIRModule::spirv

Definition at line 59 of file IShaderFrontend.hpp.

Referenced by cae::GLSL::compile(), and cae::OPGL::createGLShader().

◆ stage

ShaderStage cae::ShaderIRModule::stage

Definition at line 58 of file IShaderFrontend.hpp.

Referenced by cae::GLSL::compile().


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