7 #ifndef PXR_IMAGING_HIO_GLSLFX_CONFIG_H
8 #define PXR_IMAGING_HIO_GLSLFX_CONFIG_H
55 defaultValue(defaultValue),
77 defaultValue(defaultValue),
97 defaultValue(defaultValue),
113 std::string
const & input,
115 std::string *errorStr);
145 std::string *errorStr);
147 void _Init(
VtDictionary const & dict, std::string *errorStr);
150 std::string *errorStr)
const;
152 std::string *errorStr)
const;
155 std::string *errorStr)
const;
158 std::string *errorStr)
const;
160 typedef std::map<std::string, SourceKeys> _SourceKeyMap;
161 _SourceKeyMap _GetSourceKeyMap(
VtDictionary const & dict,
162 std::string *errorStr)
const;
169 _SourceKeyMap _sourceKeyMap;
GT_API const UT_StringHolder filename
std::vector< Attribute > Attributes
Attribute(std::string const &name, VtValue const &defaultValue, std::string const &docString="")
Parameter(std::string const &name, VtValue const &defaultValue, std::string const &docString="", Role const &role=RoleNone)
Texture(std::string const &name, VtValue const &defaultValue, std::string const &docString="")
HIO_API Textures GetTextures() const
Return the textures specified in the configuration.
std::vector< std::string > SourceKeys
HIO_API Parameters GetParameters() const
Return the parameters specified in the configuration.
std::vector< Parameter > Parameters
GLuint const GLchar * name
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HIO_API MetadataDictionary GetMetadata() const
Returns the metadata specified in the configuration.
HIO_API SourceKeys GetSourceKeys(TfToken const &shaderStageKey) const
Return the set of source keys for a particular shader stage.
#define PXR_NAMESPACE_CLOSE_SCOPE
HIO_API Attributes GetAttributes() const
Returns the attributes specified in the configuration.
VtDictionary MetadataDictionary
std::vector< Texture > Textures
static HIO_API HioGlslfxConfig * Read(TfToken const &technique, std::string const &input, std::string const &filename, std::string *errorStr)