Base class wrapping a vector data source.
More...
#include <vectorSchema.h>
|
| HdVectorSchema (HdVectorDataSourceHandle const &vector) |
|
HD_API HdVectorDataSourceHandle | GetVector () |
| Returns the vector data source that this schema is interpreting.
|
|
HD_API bool | IsDefined () const |
|
| operator bool () const |
| Returns true if this schema is applied on top of a non-null vector.
|
|
HD_API size_t | GetNumElements () const |
| Number of elements in the vector.
|
|
|
static HD_API HdVectorDataSourceHandle | BuildRetained (size_t count, const HdDataSourceBaseHandle *values) |
|
|
template<typename T > |
T::Handle | _GetTyped (const size_t element) const |
|
Base class wrapping a vector data source.
Definition at line 21 of file vectorSchema.h.
◆ UnderlyingDataSource
◆ HdVectorSchema()
◆ _GetTyped()
T::Handle _GetTyped |
( |
const size_t |
element | ) |
const |
|
inlineprotected |
◆ GetNumElements()
HD_API size_t GetNumElements |
( |
| ) |
const |
Number of elements in the vector.
◆ GetVector()
HD_API HdVectorDataSourceHandle GetVector |
( |
| ) |
|
Returns the vector data source that this schema is interpreting.
◆ operator bool()
Returns true
if this schema is applied on top of a non-null vector.
Definition at line 41 of file vectorSchema.h.
◆ _vector
HdVectorDataSourceHandle _vector |
|
protected |
The documentation for this class was generated from the following file: