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

Constructor & Destructor Documentation

HdExtComputationPrimvarDescriptor::HdExtComputationPrimvarDescriptor ( )
inline

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

Member Function Documentation

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

Definition at line 305 of file sceneDelegate.h.

Member Data Documentation

SdfPath HdExtComputationPrimvarDescriptor::sourceComputationId

Definition at line 288 of file sceneDelegate.h.

TfToken HdExtComputationPrimvarDescriptor::sourceComputationOutputName

Definition at line 289 of file sceneDelegate.h.

HdTupleType HdExtComputationPrimvarDescriptor::valueType

Definition at line 290 of file sceneDelegate.h.


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