24 #ifndef HDX_BOUNDINGBOX_TASK_H
25 #define HDX_BOUNDINGBOX_TASK_H
105 HdxBoundingBoxTask() =
delete;
106 HdxBoundingBoxTask(
const HdxBoundingBoxTask&) =
delete;
107 HdxBoundingBoxTask &operator =(
const HdxBoundingBoxTask&) =
delete;
110 bool _CreateShaderResources();
113 bool _CreateBufferResources();
116 bool _CreateResourceBindings();
119 bool _CreatePipeline(
128 void _UpdateShaderConstants(
140 void _DestroyShaderProgram();
143 void _PrintCompileErrors();
149 size_t _maxTransforms;
HDX_API HdxBoundingBoxTaskParams()
int HgiHandle< class HgiTexture > HgiTextureHandle
HDX_API std::ostream & operator<<(std::ostream &out, const HdxBoundingBoxTaskParams &pv)
HDX_API void Prepare(HdTaskContext *ctx, HdRenderIndex *renderIndex) override
Prepare the bounding box task resources.
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
HDX_API void Execute(HdTaskContext *ctx) override
Execute the bounding box task.
std::unordered_map< TfToken, VtValue, TfToken::HashFunctor > HdTaskContext
std::vector< GfBBox3d > BBoxVector
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
HDX_API ~HdxBoundingBoxTask() override
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
HDX_API void _Sync(HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) override
Sync the render pass resources.