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 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
 

Detailed Description

Describes a primvar.

Definition at line 136 of file sceneDelegate.h.

Constructor & Destructor Documentation

HdPrimvarDescriptor::HdPrimvarDescriptor ( )
inline

Definition at line 146 of file sceneDelegate.h.

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

Definition at line 147 of file sceneDelegate.h.

Member Function Documentation

Definition at line 156 of file sceneDelegate.h.

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

Definition at line 152 of file sceneDelegate.h.

Member Data Documentation

HdInterpolation HdPrimvarDescriptor::interpolation

Interpolation (data-sampling rate) of the primvar.

Definition at line 140 of file sceneDelegate.h.

TfToken HdPrimvarDescriptor::name

Name of the primvar.

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


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