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

#include <sceneDelegate.h>

+ Inheritance diagram for HdExtComputationPrimvarDescriptor:

Public Member Functions

 HdExtComputationPrimvarDescriptor ()
 
 HdExtComputationPrimvarDescriptor (TfToken const &name_, HdInterpolation interp_, TfToken const &role_, SdfPath const &sourceComputationId_, TfToken const &sourceComputationOutputName_, HdTupleType const &valueType_)
 
bool operator== (HdExtComputationPrimvarDescriptor const &rhs) const
 
bool operator!= (HdExtComputationPrimvarDescriptor const &rhs) const
 
- Public Member Functions inherited from HdPrimvarDescriptor
 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

SdfPath sourceComputationId
 
TfToken sourceComputationOutputName
 
HdTupleType valueType
 
- Public Attributes inherited from HdPrimvarDescriptor
TfToken name
 Name of the primvar. More...
 
HdInterpolation interpolation
 Interpolation (data-sampling rate) of the primvar. More...
 
TfToken role
 
bool indexed
 

Detailed Description

Extends HdPrimvarDescriptor to describe a primvar that takes data from the output of an ExtComputation.

The structure contains the id of the source ExtComputation in the render index, the name of an output from that computation from which the primvar will take data along with a valueType which describes the type of the expected data.

Definition at line 186 of file sceneDelegate.h.

Constructor & Destructor Documentation

HdExtComputationPrimvarDescriptor::HdExtComputationPrimvarDescriptor ( )
inline

Definition at line 191 of file sceneDelegate.h.

HdExtComputationPrimvarDescriptor::HdExtComputationPrimvarDescriptor ( TfToken const name_,
HdInterpolation  interp_,
TfToken const role_,
SdfPath const sourceComputationId_,
TfToken const sourceComputationOutputName_,
HdTupleType const valueType_ 
)
inline

Definition at line 192 of file sceneDelegate.h.

Member Function Documentation

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

Definition at line 204 of file sceneDelegate.h.

Member Data Documentation

SdfPath HdExtComputationPrimvarDescriptor::sourceComputationId

Definition at line 187 of file sceneDelegate.h.

TfToken HdExtComputationPrimvarDescriptor::sourceComputationOutputName

Definition at line 188 of file sceneDelegate.h.

HdTupleType HdExtComputationPrimvarDescriptor::valueType

Definition at line 189 of file sceneDelegate.h.


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