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