HdPrimvarDescriptor Struct Reference

Describes a primvar. More...

+ Inheritance diagram for HdPrimvarDescriptor:

Public Member Functions

 HdPrimvarDescriptor (TfToken const &name_, HdInterpolation interp_, TfToken const &role_=HdPrimvarRoleTokens->none, bool indexed_=false, int elementSize_=1)
 
bool operator== (HdPrimvarDescriptor const &rhs) const
 
bool operator!= (HdPrimvarDescriptor const &rhs) const
 

Public Attributes

TfToken name
 Name of the primvar. More...
 
HdInterpolation interpolation
 Interpolation (data-sampling rate) of the primvar. More...
 
TfToken role
 Optional "role" indicating a desired interpretation – for example, to distinguish color/vector/point/normal. More...
 
bool indexed
 Optional bool, true if primvar is indexed. More...
 
int elementSize
 The number of values in the value array that must be aggregated for each element in the primitive. More...
 

Detailed Description

Describes a primvar.

Definition at line 165 of file sceneDelegate.h.

Member Data Documentation

◆ elementSize

int elementSize

The number of values in the value array that must be aggregated for each element in the primitive.

Definition at line 179 of file sceneDelegate.h.

◆ indexed

bool indexed

Optional bool, true if primvar is indexed.

This value should be checked before calling "GetIndexedPrimvar"

Definition at line 176 of file sceneDelegate.h.

◆ interpolation

HdInterpolation interpolation

Interpolation (data-sampling rate) of the primvar.

Definition at line 169 of file sceneDelegate.h.

◆ name

TfToken name

Name of the primvar.

Definition at line 167 of file sceneDelegate.h.

◆ role

TfToken role

Optional "role" indicating a desired interpretation – for example, to distinguish color/vector/point/normal.

See HdPrimvarRoleTokens; default is HdPrimvarRoleTokens->none.

Definition at line 173 of file sceneDelegate.h.


The documentation for this struct was generated from the following file: