31 #ifndef PXR_IMAGING_HD_VOLUME_FIELD_SCHEMA_H
32 #define PXR_IMAGING_HD_VOLUME_FIELD_SCHEMA_H
42 #define HDVOLUMEFIELD_SCHEMA_TOKENS \
48 (vectorDataRoleHint) \
82 static HdContainerDataSourceHandle
118 HdContainerDataSourceHandle
Build();
135 const HdContainerDataSourceHandle &fromParentContainer);
HD_API HdTokenDataSourceHandle GetFieldDataType()
HD_API HdIntDataSourceHandle GetFieldIndex()
HdVolumeFieldSchema(HdContainerDataSourceHandle container)
HD_API Builder & SetFieldDataType(const HdTokenDataSourceHandle &fieldDataType)
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
HD_API HdAssetPathDataSourceHandle GetFilePath()
HdAssetPathDataSource::Handle HdAssetPathDataSourceHandle
TF_DECLARE_PUBLIC_TOKENS(HdVolumeFieldSchemaTokens, HD_API, HDVOLUMEFIELD_SCHEMA_TOKENS)
static HD_API const TfToken & GetSchemaToken()
HD_API HdTokenDataSourceHandle GetVectorDataRoleHint()
static HD_API HdContainerDataSourceHandle BuildRetained(const HdAssetPathDataSourceHandle &filePath, const HdTokenDataSourceHandle &fieldName, const HdIntDataSourceHandle &fieldIndex, const HdTokenDataSourceHandle &fieldDataType, const HdTokenDataSourceHandle &vectorDataRoleHint)
HD_API HdTokenDataSourceHandle GetFieldName()
static HD_API const HdDataSourceLocator & GetDefaultLocator()
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HD_API Builder & SetFieldName(const HdTokenDataSourceHandle &fieldName)
#define PXR_NAMESPACE_CLOSE_SCOPE
HdIntDataSource::Handle HdIntDataSourceHandle
HD_API Builder & SetVectorDataRoleHint(const HdTokenDataSourceHandle &vectorDataRoleHint)
HD_API Builder & SetFieldIndex(const HdIntDataSourceHandle &fieldIndex)
#define HDVOLUMEFIELD_SCHEMA_TOKENS
static HD_API HdVolumeFieldSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
HdTokenDataSource::Handle HdTokenDataSourceHandle
HD_API Builder & SetFilePath(const HdAssetPathDataSourceHandle &filePath)