35 #ifndef PXR_IMAGING_HD_IMAGE_SHADER_SCHEMA_H
36 #define PXR_IMAGING_HD_IMAGE_SHADER_SCHEMA_H
53 #define HD_IMAGE_SHADER_SCHEMA_TOKENS \
82 const HdContainerDataSourceHandle &fromParentContainer);
158 static HdContainerDataSourceHandle
163 const HdContainerDataSourceHandle &constants
186 const HdContainerDataSourceHandle &constants);
190 HdContainerDataSourceHandle
Build();
196 HdContainerDataSourceHandle _constants;
HdImageShaderSchema(HdContainerDataSourceHandle container)
HD_API Builder & SetEnabled(const HdBoolDataSourceHandle &enabled)
static HD_API HdImageShaderSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
static HD_API const HdDataSourceLocator & GetConstantsLocator()
Prim-level relative data source locator to locate constants.
HD_API HdStringDataSourceHandle GetFilePath()
HdStringDataSource::Handle HdStringDataSourceHandle
#define HD_IMAGE_SHADER_SCHEMA_TOKENS
GLenum GLenum GLsizei const GLuint GLboolean enabled
HD_API HdBoolDataSourceHandle GetEnabled()
HD_API Builder & SetFilePath(const HdStringDataSourceHandle &filePath)
HD_API HdIntDataSourceHandle GetPriority()
HD_API HdSampledDataSourceContainerSchema GetConstants()
HD_API Builder & SetPriority(const HdIntDataSourceHandle &priority)
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
static HD_API const HdDataSourceLocator & GetDefaultLocator()
HdBoolDataSource::Handle HdBoolDataSourceHandle
static HD_API HdContainerDataSourceHandle BuildRetained(const HdBoolDataSourceHandle &enabled, const HdIntDataSourceHandle &priority, const HdStringDataSourceHandle &filePath, const HdContainerDataSourceHandle &constants)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static HD_API const TfToken & GetSchemaToken()
HD_API Builder & SetConstants(const HdContainerDataSourceHandle &constants)
#define PXR_NAMESPACE_CLOSE_SCOPE
TF_DECLARE_PUBLIC_TOKENS(HdImageShaderSchemaTokens, HD_API, HD_IMAGE_SHADER_SCHEMA_TOKENS)
static HD_API const HdDataSourceLocator & GetPriorityLocator()
Prim-level relative data source locator to locate priority.
HdIntDataSource::Handle HdIntDataSourceHandle
static HD_API const HdDataSourceLocator & GetFilePathLocator()
Prim-level relative data source locator to locate filePath.
static HD_API const HdDataSourceLocator & GetEnabledLocator()
Prim-level relative data source locator to locate enabled.