![]() |
Specialization of HdExtComputation which manages inputs as GPU resources. More...
Inheritance diagram for HdStExtComputation:Public Member Functions | |
| HDST_API | HdStExtComputation (SdfPath const &id) |
| Construct a new ExtComputation identified by id. More... | |
| HDST_API void | Sync (HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override |
| Synchronizes state from the delegate to this object. More... | |
| HDST_API void | Finalize (HdRenderParam *renderParam) override |
| Finalizes object resources. More... | |
|
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 HdDirtyBits | GetInitialDirtyBitsMask () const override |
| Returns the minimal set of dirty bits to place in the change tracker for use in the first sync of this prim. More... | |
| 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::string & | GetGpuKernelSource () const |
| HD_API bool | IsInputAggregation () const |
Public Member Functions inherited from HdSprim | |
| HD_API | HdSprim (SdfPath const &id) |
| SdfPath const & | GetId () const |
| Returns the identifier by which this state is known. More... | |
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 } |
| Change tracking. More... | |
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 () |
Specialization of HdExtComputation which manages inputs as GPU resources.
Definition at line 44 of file extComputation.h.
| HDST_API HdStExtComputation | ( | SdfPath const & | id | ) |
Construct a new ExtComputation identified by id.
|
overridevirtual |
Finalizes object resources.
This function might not delete resources, but it should deal with resource ownership so that the sprim is deletable.
Reimplemented from HdSprim.
|
overridevirtual |
Synchronizes state from the delegate to this object.
| [in,out] | dirtyBits,: | On 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.