Loading...
Searching...
No Matches
HdExtComputationPrimvarDescriptor Struct Reference

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

#include <sceneDelegate.h>

+ Inheritance diagram for HdExtComputationPrimvarDescriptor:

Public Member Functions

 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 (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.
 
HdInterpolation interpolation
 Interpolation (data-sampling rate) of the primvar.
 
TfToken role
 Optional "role" indicating a desired interpretation – for example, to distinguish color/vector/point/normal.
 
bool indexed
 Optional bool, true if primvar is 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() [1/2]

Definition at line 292 of file sceneDelegate.h.

◆ HdExtComputationPrimvarDescriptor() [2/2]

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

◆ operator!=()

bool operator!= ( HdExtComputationPrimvarDescriptor const &  rhs) const
inline

Definition at line 311 of file sceneDelegate.h.

◆ operator==()

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

Definition at line 305 of file sceneDelegate.h.

Member Data Documentation

◆ sourceComputationId

SdfPath sourceComputationId

Definition at line 288 of file sceneDelegate.h.

◆ sourceComputationOutputName

TfToken sourceComputationOutputName

Definition at line 289 of file sceneDelegate.h.

◆ valueType

HdTupleType valueType

Definition at line 290 of file sceneDelegate.h.


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