HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdPrimvarDescriptor Struct Reference

#include <sceneDelegate.h>

+ Inheritance diagram for HdPrimvarDescriptor:

Public Member Functions

 HdPrimvarDescriptor ()
 
 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
 
bool indexed
 

Detailed Description

Describes a primvar.

Definition at line 170 of file sceneDelegate.h.

Constructor & Destructor Documentation

HdPrimvarDescriptor::HdPrimvarDescriptor ( )
inline

Definition at line 183 of file sceneDelegate.h.

HdPrimvarDescriptor::HdPrimvarDescriptor ( TfToken const name_,
HdInterpolation  interp_,
TfToken const role_ = HdPrimvarRoleTokens->none,
bool  indexed_ = false 
)
inline

Definition at line 188 of file sceneDelegate.h.

Member Function Documentation

Definition at line 198 of file sceneDelegate.h.

bool HdPrimvarDescriptor::operator== ( HdPrimvarDescriptor const rhs) const
inline

Definition at line 194 of file sceneDelegate.h.

Member Data Documentation

bool HdPrimvarDescriptor::indexed

Optional bool, true if primvar is indexed. This value should be checked before calling "GetIndexedPrimvar"

Definition at line 181 of file sceneDelegate.h.

HdInterpolation HdPrimvarDescriptor::interpolation

Interpolation (data-sampling rate) of the primvar.

Definition at line 174 of file sceneDelegate.h.

TfToken HdPrimvarDescriptor::name

Name of the primvar.

Definition at line 172 of file sceneDelegate.h.

TfToken HdPrimvarDescriptor::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: