24 #ifndef HDX_VISUALIZE_AOV_TASK_H
25 #define HDX_VISUALIZE_AOV_TASK_H
92 HdxVisualizeAovTask() =
delete;
93 HdxVisualizeAovTask(
const HdxVisualizeAovTask &) =
delete;
94 HdxVisualizeAovTask &operator =(
const HdxVisualizeAovTask &) =
delete;
98 bool _UpdateVizKernel(
TfToken const &aovName);
101 TfToken const& _GetTextureIdentifierForShader()
const;
104 TfToken const& _GetFragmentMixin()
const;
108 bool _CreateShaderResources(
HgiTextureDesc const& inputAovTextureDesc);
111 bool _CreateBufferResources();
120 bool _CreateSampler();
123 bool _CreateOutputTexture(
GfVec3i const &dimensions);
126 void _DestroyShaderProgram();
129 void _PrintCompileErrors();
140 GfVec3i _outputTextureDimensions;
151 float _screenSize[2];
152 float _minMaxDepth[2];
153 VizKernel _vizKernel;
HDX_API HdxVisualizeAovTaskParams()
HDX_API void Prepare(HdTaskContext *ctx, HdRenderIndex *renderIndex) override
int HgiHandle< class HgiTexture > HgiTextureHandle
HDX_API std::ostream & operator<<(std::ostream &out, const HdxVisualizeAovTaskParams &pv)
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
HDX_API ~HdxVisualizeAovTask() override
std::unordered_map< TfToken, VtValue, TfToken::HashFunctor > HdTaskContext
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
HDX_API void Execute(HdTaskContext *ctx) override
HDX_API void _Sync(HdSceneDelegate *delegate, HdTaskContext *ctx, HdDirtyBits *dirtyBits) override
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.