HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rprimUtils.h File Reference
#include "pxr/pxr.h"
#include "pxr/imaging/hdSt/api.h"
#include "pxr/imaging/hd/sceneDelegate.h"
#include <memory>
#include <string>
#include <vector>
+ Include dependency graph for rprimUtils.h:

Go to the source code of this file.

Typedefs

using HdBufferArrayRangeSharedPtr = std::shared_ptr< class HdBufferArrayRange >
 
using HdBufferSourceSharedPtrVector = std::vector< HdBufferSourceSharedPtr >
 
using HdBufferSpecVector = std::vector< struct HdBufferSpec >
 
using HdStShaderCodeSharedPtr = std::shared_ptr< class HdStShaderCode >
 
using HdComputationSharedPtr = std::shared_ptr< class HdComputation >
 
using HdComputationSharedPtrVector = std::vector< HdComputationSharedPtr >
 
using HdStResourceRegistrySharedPtr = std::shared_ptr< class HdStResourceRegistry >
 

Functions

HDST_API HdPrimvarDescriptorVector HdStGetPrimvarDescriptors (HdRprim const *prim, HdStDrawItem const *drawItem, HdSceneDelegate *delegate, HdInterpolation interpolation)
 
HDST_API HdPrimvarDescriptorVector HdStGetInstancerPrimvarDescriptors (HdStInstancer const *instancer, HdRprim const *prim, HdStDrawItem const *drawItem, HdSceneDelegate *delegate)
 
HDST_API HdStShaderCodeSharedPtr HdStGetMaterialShader (HdRprim const *prim, HdSceneDelegate *delegate, std::string const &mixinSource=std::string())
 
HDST_API bool HdStIsValidBAR (HdBufferArrayRangeSharedPtr const &range)
 
HDST_API bool HdStCanSkipBARAllocationOrUpdate (HdBufferSourceSharedPtrVector const &sources, HdComputationSharedPtrVector const &computations, HdBufferArrayRangeSharedPtr const &curRange, HdDirtyBits dirtyBits)
 
HDST_API bool HdStCanSkipBARAllocationOrUpdate (HdBufferSourceSharedPtrVector const &sources, HdBufferArrayRangeSharedPtr const &curRange, HdDirtyBits dirtyBits)
 
HDST_API HdBufferSpecVector HdStGetRemovedPrimvarBufferSpecs (HdBufferArrayRangeSharedPtr const &curRange, HdPrimvarDescriptorVector const &newPrimvarDescs, HdExtComputationPrimvarDescriptorVector const &newCompPrimvarDescs, TfTokenVector const &internallyGeneratedPrimvarNames, SdfPath const &rprimId)
 
HDST_API HdBufferSpecVector HdStGetRemovedPrimvarBufferSpecs (HdBufferArrayRangeSharedPtr const &curRange, HdPrimvarDescriptorVector const &newPrimvarDescs, TfTokenVector const &internallyGeneratedPrimvarNames, SdfPath const &rprimId)
 
HDST_API void HdStUpdateDrawItemBAR (HdBufferArrayRangeSharedPtr const &newRange, int drawCoordIndex, HdRprimSharedData *sharedData, HdRenderIndex &renderIndex)
 
HDST_API bool HdStShouldPopulateConstantPrimvars (HdDirtyBits const *dirtyBits, SdfPath const &id)
 
HDST_API void HdStPopulateConstantPrimvars (HdRprim *prim, HdRprimSharedData *sharedData, HdSceneDelegate *delegate, HdDrawItem *drawItem, HdDirtyBits *dirtyBits, HdPrimvarDescriptorVector const &constantPrimvars)
 
HDST_API void HdStProcessTopologyVisibility (VtIntArray invisibleElements, int numTotalElements, VtIntArray invisiblePoints, int numTotalPoints, HdRprimSharedData *sharedData, HdStDrawItem *drawItem, HdChangeTracker *changeTracker, HdStResourceRegistrySharedPtr const &resourceRegistry, SdfPath const &rprimId)
 

Typedef Documentation

Definition at line 45 of file rprimUtils.h.

Definition at line 47 of file rprimUtils.h.

using HdBufferSpecVector = std::vector<struct HdBufferSpec>

Definition at line 48 of file rprimUtils.h.

using HdComputationSharedPtr = std::shared_ptr<class HdComputation>

Definition at line 51 of file rprimUtils.h.

Definition at line 52 of file rprimUtils.h.

Definition at line 55 of file rprimUtils.h.

using HdStShaderCodeSharedPtr = std::shared_ptr<class HdStShaderCode>

Definition at line 49 of file rprimUtils.h.

Function Documentation

HDST_API bool HdStCanSkipBARAllocationOrUpdate ( HdBufferSourceSharedPtrVector const sources,
HdComputationSharedPtrVector const computations,
HdBufferArrayRangeSharedPtr const curRange,
HdDirtyBits  dirtyBits 
)
HDST_API bool HdStCanSkipBARAllocationOrUpdate ( HdBufferSourceSharedPtrVector const sources,
HdBufferArrayRangeSharedPtr const curRange,
HdDirtyBits  dirtyBits 
)
HDST_API HdPrimvarDescriptorVector HdStGetInstancerPrimvarDescriptors ( HdStInstancer const instancer,
HdRprim const prim,
HdStDrawItem const drawItem,
HdSceneDelegate delegate 
)
HDST_API HdStShaderCodeSharedPtr HdStGetMaterialShader ( HdRprim const prim,
HdSceneDelegate delegate,
std::string const mixinSource = std::string() 
)
HDST_API HdPrimvarDescriptorVector HdStGetPrimvarDescriptors ( HdRprim const prim,
HdStDrawItem const drawItem,
HdSceneDelegate delegate,
HdInterpolation  interpolation 
)
HDST_API HdBufferSpecVector HdStGetRemovedPrimvarBufferSpecs ( HdBufferArrayRangeSharedPtr const curRange,
HdPrimvarDescriptorVector const newPrimvarDescs,
HdExtComputationPrimvarDescriptorVector const newCompPrimvarDescs,
TfTokenVector const internallyGeneratedPrimvarNames,
SdfPath const rprimId 
)
HDST_API HdBufferSpecVector HdStGetRemovedPrimvarBufferSpecs ( HdBufferArrayRangeSharedPtr const curRange,
HdPrimvarDescriptorVector const newPrimvarDescs,
TfTokenVector const internallyGeneratedPrimvarNames,
SdfPath const rprimId 
)
HDST_API bool HdStIsValidBAR ( HdBufferArrayRangeSharedPtr const range)
HDST_API void HdStPopulateConstantPrimvars ( HdRprim prim,
HdRprimSharedData sharedData,
HdSceneDelegate delegate,
HdDrawItem drawItem,
HdDirtyBits dirtyBits,
HdPrimvarDescriptorVector const constantPrimvars 
)
HDST_API void HdStProcessTopologyVisibility ( VtIntArray  invisibleElements,
int  numTotalElements,
VtIntArray  invisiblePoints,
int  numTotalPoints,
HdRprimSharedData sharedData,
HdStDrawItem drawItem,
HdChangeTracker changeTracker,
HdStResourceRegistrySharedPtr const resourceRegistry,
SdfPath const rprimId 
)
HDST_API bool HdStShouldPopulateConstantPrimvars ( HdDirtyBits const dirtyBits,
SdfPath const id 
)
HDST_API void HdStUpdateDrawItemBAR ( HdBufferArrayRangeSharedPtr const newRange,
int  drawCoordIndex,
HdRprimSharedData sharedData,
HdRenderIndex renderIndex 
)