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

#include <drawItem.h>

+ Inheritance diagram for HdStDrawItem:

Public Member Functions

 HF_MALLOC_TAG_NEW ("new HdStDrawItem")
 
HDST_API HdStDrawItem (HdRprimSharedData const *sharedData)
 
HDST_API ~HdStDrawItem () override
 
void SetGeometricShader (HdSt_GeometricShaderSharedPtr const &shader)
 
HdSt_GeometricShaderSharedPtr
const
GetGeometricShader () const
 
HdStShaderCodeSharedPtr constGetMaterialShader () const
 
void SetMaterialShader (HdStShaderCodeSharedPtr const &shader)
 
- Public Member Functions inherited from HdDrawItem
 HF_MALLOC_TAG_NEW ("new HdDrawItem")
 
HD_API HdDrawItem (HdRprimSharedData const *sharedData)
 
virtual HD_API ~HdDrawItem ()
 
HD_API SdfPath constGetRprimID () const
 
HD_API GfBBox3d constGetBounds () const
 
HD_API GfRange3d constGetExtent () const
 
HD_API GfMatrix4d constGetMatrix () const
 
HD_API
HdBufferArrayRangeSharedPtr
const
GetConstantPrimvarRange () const
 Returns a BufferRange of constant-Primvar. More...
 
HD_API int GetInstancePrimvarNumLevels () const
 Returns the number of nested levels of instance primvars. More...
 
HD_API
HdBufferArrayRangeSharedPtr
const
GetInstancePrimvarRange (int level) const
 
HD_API
HdBufferArrayRangeSharedPtr
const
GetInstanceIndexRange () const
 Returns a BufferRange of instance-index indirection. More...
 
HD_API
HdBufferArrayRangeSharedPtr
const
GetElementPrimvarRange () const
 Returns a BufferRange of element-Primvars. More...
 
HD_API
HdBufferArrayRangeSharedPtr
const
GetTopologyRange () const
 Returns a BufferArrayRange of topology. More...
 
HD_API
HdBufferArrayRangeSharedPtr
const
GetTopologyVisibilityRange () const
 
HD_API
HdBufferArrayRangeSharedPtr
const
GetVertexPrimvarRange () const
 Returns a BufferArrayRange of vertex-primvars. More...
 
HD_API
HdBufferArrayRangeSharedPtr
const
GetFaceVaryingPrimvarRange () const
 Returns a BufferArrayRange of face-varying primvars. More...
 
HD_API HdDrawingCoordGetDrawingCoord ()
 
HD_API bool GetVisible () const
 Returns the authored visibility, expressed by the delegate. More...
 
HD_API bool HasInstancer () const
 Returns true if the drawItem has instancer. More...
 
HD_API size_t GetBufferArraysHash () const
 
HD_API bool IntersectsViewVolume (GfMatrix4d const &viewProjMatrix) const
 

Protected Member Functions

size_t _GetBufferArraysHash () const override
 
- Protected Member Functions inherited from HdDrawItem
HD_API HdRprimSharedData const_GetSharedData () const
 Returns the shared data. More...
 

Detailed Description

Definition at line 36 of file drawItem.h.

Constructor & Destructor Documentation

HDST_API HdStDrawItem::HdStDrawItem ( HdRprimSharedData const sharedData)
HDST_API HdStDrawItem::~HdStDrawItem ( )
override

Member Function Documentation

size_t HdStDrawItem::_GetBufferArraysHash ( ) const
overrideprotectedvirtual

Allows derived classes to return a hash of the versions of buffers they manage. Called by GetBufferArraysHash.

Reimplemented from HdDrawItem.

HdSt_GeometricShaderSharedPtr const& HdStDrawItem::GetGeometricShader ( ) const
inline

Definition at line 51 of file drawItem.h.

HdStShaderCodeSharedPtr const& HdStDrawItem::GetMaterialShader ( ) const
inline

Definition at line 55 of file drawItem.h.

HdStDrawItem::HF_MALLOC_TAG_NEW ( "new HdStDrawItem )
void HdStDrawItem::SetGeometricShader ( HdSt_GeometricShaderSharedPtr const shader)
inline

Definition at line 47 of file drawItem.h.

void HdStDrawItem::SetMaterialShader ( HdStShaderCodeSharedPtr const shader)
inline

Definition at line 59 of file drawItem.h.


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