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

Member Data Documentation

◆ indexed

bool indexed

Optional bool, true if primvar is indexed.

This value should be checked before calling "GetIndexedPrimvar"

Definition at line 181 of file sceneDelegate.h.

◆ interpolation

HdInterpolation interpolation

Interpolation (data-sampling rate) of the primvar.

Definition at line 174 of file sceneDelegate.h.

◆ name

TfToken name

Name of the primvar.

Definition at line 172 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 178 of file sceneDelegate.h.


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