HDK
|
#include <shaderGenerator.h>
Public Member Functions | |
virtual HGI_API | ~HgiShaderGenerator () |
HGI_API void | Execute () |
HGI_API const char * | GetGeneratedShaderCode () const |
Protected Member Functions | |
HGI_API | HgiShaderGenerator (const HgiShaderFunctionDesc &descriptor) |
virtual HGI_API void | _Execute (std::ostream &ss)=0 |
HGI_API const char * | _GetShaderCodeDeclarations () const |
HGI_API const char * | _GetShaderCode () const |
HGI_API HgiShaderStage | _GetShaderStage () const |
Base class for shader function generation Given a descriptor, converts glslfx domain language to concrete shader languages. Can be extended with new types of code sections and specialized for different APIs. It's main role is to make GLSLFX a write once language, no matter the API
Definition at line 47 of file shaderGenerator.h.
|
virtual |
|
explicitprotected |
|
protected |
|
protected |
|
protected |
HGI_API const char* HgiShaderGenerator::GetGeneratedShaderCode | ( | ) | const |