HDK
|
#include <smoothNormals.h>
Public Member Functions | |
HDST_API | HdSt_SmoothNormalsComputationGPU (Hd_VertexAdjacency const *adjacency, TfToken const &srcName, TfToken const &dstName, HdType srcDataType, bool packed) |
Constructor. More... | |
virtual HDST_API void | GetBufferSpecs (HdBufferSpecVector *specs) const override |
virtual HDST_API void | Execute (HdBufferArrayRangeSharedPtr const &range, HdResourceRegistry *resourceRegistry) override |
Execute computation. More... | |
virtual int | GetNumOutputElements () const override |
![]() | |
virtual HD_API | ~HdComputation () |
bool | IsValid () |
smooth normal computation GPU
Definition at line 42 of file smoothNormals.h.
HDST_API HdSt_SmoothNormalsComputationGPU::HdSt_SmoothNormalsComputationGPU | ( | Hd_VertexAdjacency const * | adjacency, |
TfToken const & | srcName, | ||
TfToken const & | dstName, | ||
HdType | srcDataType, | ||
bool | packed | ||
) |
Constructor.
|
overridevirtual |
Execute computation.
Implements HdComputation.
|
overridevirtual |
Add the buffer spec for this computation into given bufferspec vector. Caller has to allocate the destination buffer with respect to the BufferSpecs, and passes the range when registering the computation.
Implements HdComputation.
|
inlineoverridevirtual |
This computation doesn't generate buffer source (i.e. 2nd phase) This is a gpu computation, but no need to resize the destination since it belongs the same range as src buffer.
Implements HdComputation.
Definition at line 61 of file smoothNormals.h.