HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XUSD_HydraExtComputation Class Reference

#include <XUSD_HydraExtComputation.h>

+ Inheritance diagram for XUSD_HydraExtComputation:

Public Member Functions

 XUSD_HydraExtComputation (SdfPath const &id)
 
 ~XUSD_HydraExtComputation () override
 
void Sync (HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
 
bool isSkinning (HdSceneDelegate *scene_delegate)
 
bool isBlendShape (HdSceneDelegate *scene_delegate)
 
const UT_BoundingBoxgetSkinnedBounds () const
 
const GT_DataArrayHandlegetSkinningXformAttr () const
 
const GT_DataArrayHandlegetBlendShapeWeightAttr () const
 
const GT_DataArrayHandlegetBoneIdxAttr () const
 
const GT_DataArrayHandlegetBoneWeightAttr () const
 
const GT_DataArrayHandlegetRestPointsAttr () const
 
const GT_DataArrayHandlegetBlendShapeOffsetsAttr () const
 
- Public Member Functions inherited from HdExtComputation
HD_API HdExtComputation (SdfPath const &id)
 Construct a new ExtComputation identified by id. More...
 
HD_API ~HdExtComputation () override
 
HD_API void Sync (HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
 
HD_API HdDirtyBits GetInitialDirtyBitsMask () const override
 
HD_API size_t GetDispatchCount () const
 
HD_API size_t GetElementCount () const
 
HD_API TfTokenVector const & GetSceneInputNames () const
 
HD_API TfTokenVector GetOutputNames () const
 
HD_API
HdExtComputationInputDescriptorVector
const & 
GetComputationInputs () const
 
HD_API
HdExtComputationOutputDescriptorVector
const & 
GetComputationOutputs () const
 
HD_API const std::stringGetGpuKernelSource () const
 
HD_API bool IsInputAggregation () const
 
- Public Member Functions inherited from HdSprim
HD_API HdSprim (SdfPath const &id)
 
virtual HD_API ~HdSprim ()
 
SdfPath const & GetId () const
 
virtual HD_API void Finalize (HdRenderParam *renderParam)
 

Additional Inherited Members

- Public Types inherited from HdExtComputation
enum  DirtyBits : HdDirtyBits {
  Clean = 0, DirtyInputDesc = 1 << 0, DirtyOutputDesc = 1 << 1, DirtyElementCount = 1 << 2,
  DirtySceneInput = 1 << 3, DirtyCompInput = 1 << 4, DirtyKernel = 1 << 5, DirtyDispatchCount = 1 << 6,
  AllDirty
}
 
- Protected Member Functions inherited from HdExtComputation
HD_API void _Sync (HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits)
 
- Static Protected Member Functions inherited from HdExtComputation
static HD_API bool _IsEnabledSharedExtComputationData ()
 

Detailed Description

Definition at line 32 of file XUSD_HydraExtComputation.h.

Constructor & Destructor Documentation

XUSD_HydraExtComputation::XUSD_HydraExtComputation ( SdfPath const &  id)
XUSD_HydraExtComputation::~XUSD_HydraExtComputation ( )
override

Member Function Documentation

const GT_DataArrayHandle& XUSD_HydraExtComputation::getBlendShapeOffsetsAttr ( ) const
inline

Definition at line 75 of file XUSD_HydraExtComputation.h.

const GT_DataArrayHandle& XUSD_HydraExtComputation::getBlendShapeWeightAttr ( ) const
inline

Definition at line 64 of file XUSD_HydraExtComputation.h.

const GT_DataArrayHandle& XUSD_HydraExtComputation::getBoneIdxAttr ( ) const
inline

Definition at line 67 of file XUSD_HydraExtComputation.h.

const GT_DataArrayHandle& XUSD_HydraExtComputation::getBoneWeightAttr ( ) const
inline

Definition at line 69 of file XUSD_HydraExtComputation.h.

const GT_DataArrayHandle& XUSD_HydraExtComputation::getRestPointsAttr ( ) const
inline

Definition at line 72 of file XUSD_HydraExtComputation.h.

const UT_BoundingBox& XUSD_HydraExtComputation::getSkinnedBounds ( ) const
inline

Definition at line 59 of file XUSD_HydraExtComputation.h.

const GT_DataArrayHandle& XUSD_HydraExtComputation::getSkinningXformAttr ( ) const
inline

Definition at line 61 of file XUSD_HydraExtComputation.h.

bool XUSD_HydraExtComputation::isBlendShape ( HdSceneDelegate scene_delegate)
bool XUSD_HydraExtComputation::isSkinning ( HdSceneDelegate scene_delegate)
void XUSD_HydraExtComputation::Sync ( HdSceneDelegate sceneDelegate,
HdRenderParam renderParam,
HdDirtyBits dirtyBits 
)
overridevirtual

Synchronizes state from the delegate to this object.

Parameters
[in,out]dirtyBitsOn input specifies which state is is dirty and can be pulled from the scene delegate. On output specifies which bits are still dirty and were not cleaned by the sync.

Implements HdSprim.


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