24 #ifndef PXR_IMAGING_HD_ST_DRAW_ITEM_H
25 #define PXR_IMAGING_HD_ST_DRAW_ITEM_H
36 std::shared_ptr<class HdSt_GeometricShader>;
38 std::shared_ptr<class HdSt_MaterialNetworkShader>;
134 _geometricShader =
shader;
138 return _geometricShader;
143 return _materialNetworkShader;
148 _materialNetworkShader =
shader;
152 return _materialIsFinal;
156 _materialIsFinal = isFinal;
184 bool _materialIsFinal;
190 #endif //PXR_IMAGING_HD_ST_DRAW_ITEM_H
HDST_API bool IntersectsViewVolume(GfMatrix4d const &viewProjMatrix) const
TopologyToPrimvarVector const & GetFvarTopologyToPrimvarVector() const
Returns mapping from refined fvar channels to named primvar.
HD_API HdBufferArrayRangeSharedPtr const & Get(int index) const
std::shared_ptr< class HdSt_MaterialNetworkShader > HdSt_MaterialNetworkShaderSharedPtr
std::shared_ptr< class HdSt_GeometricShader > HdSt_GeometricShaderSharedPtr
HdDrawingCoord const & _GetDrawingCoord() const
Returns the drawingCoord.
HdRprimSharedData const * _GetSharedData() const
Returns the shared data.
HdBufferArrayRangeSharedPtr const & GetInstancePrimvarRange(int level) const
void SetGeometricShader(HdSt_GeometricShaderSharedPtr const &shader)
void SetMaterialNetworkShader(HdSt_MaterialNetworkShaderSharedPtr const &shader)
HdBufferArrayRangeContainer barContainer
HdBufferArrayRangeSharedPtr const & GetVaryingPrimvarRange() const
Returns varying primvar BAR.
HdBufferArrayRangeSharedPtr const & GetElementPrimvarRange() const
Returns element primvar BAR.
void SetMaterialIsFinal(bool isFinal)
TopologyToPrimvarVector fvarTopologyToPrimvarVector
HdBufferArrayRangeSharedPtr const & GetFaceVaryingPrimvarRange() const
Returns face varying primvar BAR.
HdSt_MaterialNetworkShaderSharedPtr const & GetMaterialNetworkShader() const
HDST_API ~HdStDrawItem() override
HdBufferArrayRangeSharedPtr const & GetVertexPrimvarRange() const
Returns vertex primvar BAR.
int GetInstancePrimvarNumLevels() const
Returns the number of nested levels of instance primvars.
HDST_API size_t GetBufferArraysHash() const
HF_MALLOC_TAG_NEW("new HdStDrawItem")
HdSt_GeometricShaderSharedPtr const & GetGeometricShader() const
std::vector< std::pair< VtIntArray, std::vector< TfToken >>> TopologyToPrimvarVector
HdBufferArrayRangeSharedPtr const & GetTopologyVisibilityRange() const
Returns topological visibility BAR (e.g. per-face, per-point, etc.)
HDST_API size_t GetElementOffsetsHash() const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HdBufferArrayRangeSharedPtr const & GetInstanceIndexRange() const
Returns instance-index indirection BAR.
#define PXR_NAMESPACE_CLOSE_SCOPE
std::shared_ptr< HdBufferArrayRange > HdBufferArrayRangeSharedPtr
HDST_API HdStDrawItem(HdRprimSharedData const *sharedData)
HdBufferArrayRangeSharedPtr const & GetTopologyRange() const
Returns topology BAR.
bool GetMaterialIsFinal() const
bool HasInstancer() const
Returns true if the drawItem has an instancer.
HdBufferArrayRangeSharedPtr const & GetConstantPrimvarRange() const
Returns constant primvar BAR.