#include <primvarSchema.h>
Definition at line 64 of file primvarSchema.h.
HdPrimvarSchema::HdPrimvarSchema |
( |
HdContainerDataSourceHandle |
container | ) |
|
|
inline |
Returns token data source for use as interpolation value.
The following values will be stored statically and reused for future calls:
- HdPrimvarSchemaTokens->constant
- HdPrimvarSchemaTokens->uniform
- HdPrimvarSchemaTokens->varying
- HdPrimvarSchemaTokens->vertex
- HdPrimvarSchemaTokens->faceVarying
- HdPrimvarSchemaTokens->instance
- Deprecated:
- Use Builder instead.
Builds a container data source which includes the provided child data sources. Parameters with nullptr values are excluded. This is a low-level interface. For cases in which it's desired to define the container with a sparse set of child fields, the Builder class is often more convenient and readable.
Returns token data source for use as role value.
The following values will be stored statically and reused for future calls:
- HdPrimvarSchemaTokens->point
- HdPrimvarSchemaTokens->normal
- HdPrimvarSchemaTokens->vector
- HdPrimvarSchemaTokens->color
- HdPrimvarSchemaTokens->pointIndex
- HdPrimvarSchemaTokens->edgeIndex
- HdPrimvarSchemaTokens->faceIndex
- HdPrimvarSchemaTokens->textureCoordinate
The number of values in the value array that must be aggregated for each element on the the primitive (same as UsdGeomPrimvar).
HD_API HdSampledDataSourceHandle HdPrimvarSchema::GetFlattenedPrimvarValue |
( |
| ) |
const |
HD_API HdSampledDataSourceHandle HdPrimvarSchema::GetIndexedPrimvarValue |
( |
| ) |
const |
The number of values in the value array that must be aggregated for each element on the the primitive (same as UsdGeomPrimvar).
The number of values in the value array that must be aggregated for each element on the the primitive (same as UsdGeomPrimvar).
HD_API HdSampledDataSourceHandle HdPrimvarSchema::GetPrimvarValue |
( |
| ) |
const |
The number of values in the value array that must be aggregated for each element on the the primitive (same as UsdGeomPrimvar).
HD_API bool HdPrimvarSchema::IsIndexed |
( |
| ) |
const |
The documentation for this class was generated from the following file: