All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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)
 
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...
 

Detailed Description

Describes a primvar.

Definition at line 146 of file sceneDelegate.h.

Member Data Documentation

bool indexed

Optional bool, true if primvar is indexed.

This value should be checked before calling "GetIndexedPrimvar"

Definition at line 157 of file sceneDelegate.h.

HdInterpolation interpolation

Interpolation (data-sampling rate) of the primvar.

Definition at line 150 of file sceneDelegate.h.

TfToken name

Name of the primvar.

Definition at line 148 of file sceneDelegate.h.

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 154 of file sceneDelegate.h.


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