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

#include <extComputation.h>

+ Inheritance diagram for HdStExtComputation:

Public Member Functions

HDST_API HdStExtComputation (SdfPath const &id)
 Construct a new ExtComputation identified by id. More...
 
virtual HDST_API ~HdStExtComputation ()=default
 
virtual HDST_API void Sync (HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override
 
HDST_API
HdBufferArrayRangeSharedPtr
const
GetInputRange () const
 
- Public Member Functions inherited from HdExtComputation
HD_API HdExtComputation (SdfPath const &id)
 Construct a new ExtComputation identified by id. More...
 
virtual HD_API ~HdExtComputation ()=default
 
virtual HD_API HdDirtyBits GetInitialDirtyBitsMask () const override
 
HD_API size_t GetDispatchCount () const
 
HD_API size_t GetElementCount () const
 
HD_API TfTokenVector constGetSceneInputNames () 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 constGetId () 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

Specialization of HdExtComputation which manages inputs as GPU resources.

Definition at line 44 of file extComputation.h.

Constructor & Destructor Documentation

HDST_API HdStExtComputation::HdStExtComputation ( SdfPath const id)

Construct a new ExtComputation identified by id.

virtual HDST_API HdStExtComputation::~HdStExtComputation ( )
virtualdefault

Member Function Documentation

HDST_API HdBufferArrayRangeSharedPtr const& HdStExtComputation::GetInputRange ( ) const
inline

Definition at line 59 of file extComputation.h.

virtual HDST_API void HdStExtComputation::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.

Reimplemented from HdExtComputation.


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