6#ifndef MATERIALX_ESSLSHADERGENERATOR_H
7#define MATERIALX_ESSLSHADERGENERATOR_H
17using EsslShaderGeneratorPtr = shared_ptr<class EsslShaderGenerator>;
29 const string&
getTarget()
const override {
return TARGET; }
32 const string&
getVersion()
const override {
return VERSION; }
34 const string getVertexDataPrefix(
const VariableBlock& vertexData)
const override;
38 static const string VERSION;
shared_ptr< class HwResourceBindingContext > HwResourceBindingContextPtr
Shared pointer to a HwResourceBindingContext.
Definition: HwShaderGenerator.h:235
shared_ptr< ShaderGenerator > ShaderGeneratorPtr
Shared pointer to a ShaderGenerator.
Definition: Library.h:38
An ESSL (OpenGL ES Shading Language) shader generator
Definition: EsslShaderGenerator.h:22
const string & getTarget() const override
Return a unique identifier for the target this generator is for.
Definition: EsslShaderGenerator.h:29
static const string TARGET
Unique identifier for this generator target.
Definition: EsslShaderGenerator.h:37
const string & getVersion() const override
Return the version string for the ESSL version this generator is for.
Definition: EsslShaderGenerator.h:32
A context class for shader generation.
Definition: GenContext.h:27
Base class for GLSL (OpenGL Shading Language) code generation.
Definition: GlslShaderGenerator.h:24
A shader stage, containing the state and resulting source code for the stage.
Definition: ShaderStage.h:124
A block of variables in a shader stage.
Definition: ShaderStage.h:53