8 #ifndef PXR_IMAGING_HD_CONTAINER_SCHEMA_H
9 #define PXR_IMAGING_HD_CONTAINER_SCHEMA_H
30 static HdContainerDataSourceHandle
34 const HdDataSourceBaseHandle *
values);
46 HdContainerDataSourceHandle container)
51 return _GetTypedDataSource<T>(
name);
62 template<
typename Schema>
72 using DataSource =
typename Schema::UnderlyingDataSource;
73 return Schema(_GetTypedDataSource<DataSource>(name));
HdContainerSchema(HdContainerDataSourceHandle container)
HD_API TfTokenVector GetNames() const
#define PXR_NAMESPACE_OPEN_SCOPE
static HD_API HdContainerDataSourceHandle BuildRetained(size_t count, const TfToken *names, const HdDataSourceBaseHandle *values)
Schema Get(const TfToken &name) const
T::Handle Get(const TfToken &name) const
HdContainerOfTypedSampledDataSourcesSchema(HdContainerDataSourceHandle container)
std::vector< TfToken > TfTokenVector
Convenience types.
GLuint const GLchar * name
HdContainerOfSchemasSchema(HdContainerDataSourceHandle container)
GLenum GLsizei GLsizei GLint * values
#define PXR_NAMESPACE_CLOSE_SCOPE