|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
Shader source descriptor for compilation. More...
#include <ShaderUtils.hpp>
Collaboration diagram for MayaFlux::Portal::Graphics::ShaderSource:Public Types | |
| enum class | SourceType : uint8_t { GLSL_STRING , GLSL_FILE , SPIRV_FILE , SPIRV_ASM } |
Public Member Functions | |
| ShaderSource ()=default | |
| ShaderSource (std::string content_, ShaderStage stage_, SourceType type_) | |
Public Attributes | |
| std::string | content |
| Shader source code, SPIR-V path, or SPIR-V assembly text. | |
| std::string | entry_point = "main" |
| ShaderStage | stage |
| enum MayaFlux::Portal::Graphics::ShaderSource::SourceType | type = SourceType::GLSL_FILE |
Shader source descriptor for compilation.
Definition at line 119 of file ShaderUtils.hpp.