MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Graphics::ShaderSource Struct Reference

Shader source descriptor for compilation. More...

#include <ShaderFoundry.hpp>

+ Collaboration diagram for MayaFlux::Portal::Graphics::ShaderSource:

Public Types

enum class  SourceType : uint8_t { GLSL_STRING , GLSL_FILE , SPIRV_FILE }
 

Public Member Functions

 ShaderSource ()=default
 
 ShaderSource (std::string content_, ShaderStage stage_, SourceType type_)
 

Public Attributes

std::string content
 Shader source code or SPIR-V path.
 
ShaderStage stage
 
std::string entry_point = "main"
 
enum MayaFlux::Portal::Graphics::ShaderSource::SourceType type = SourceType::GLSL_FILE
 

Detailed Description

Shader source descriptor for compilation.

Definition at line 50 of file ShaderFoundry.hpp.


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