24 #ifndef PXR_IMAGING_HD_ST_EXT_COMP_GPU_COMPUTATION_RESOURCE_H
25 #define PXR_IMAGING_HD_ST_EXT_COMP_GPU_COMPUTATION_RESOURCE_H
30 #include "pxr/imaging/hdSt/resourceBinder.h"
31 #include "pxr/imaging/hdSt/extCompComputeShader.h"
39 std::shared_ptr<class HdStExtCompGpuComputationResource>;
42 std::vector<HdBufferArrayRangeSharedPtr>;
75 HdSt_ExtCompComputeShaderSharedPtr
const &kernel,
93 if (!_computeProgram) {
96 return _computeProgram;
103 if (!_computeProgram) {
106 return _resourceBinder;
116 HdSt_ExtCompComputeShaderSharedPtr _kernel;
119 size_t _shaderSourceHash;
122 HdSt_ResourceBinder _resourceBinder;
133 #endif // PXR_IMAGING_HD_ST_EXT_COMP_GPU_COMPUTATION_RESOURCE_H
std::shared_ptr< class HdStExtCompGpuComputationResource > HdStExtCompGpuComputationResourceSharedPtr
virtual ~HdStExtCompGpuComputationResource()=default
HdSt_ResourceBinder const & GetResourceBinder()
HdStGLSLProgramSharedPtr const & GetProgram()
std::vector< struct HdBufferSpec > HdBufferSpecVector
std::shared_ptr< class HdStGLSLProgram > HdStGLSLProgramSharedPtr
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
HdBufferArrayRangeSharedPtrVector const & GetInputs() const
std::vector< HdBufferArrayRangeSharedPtr > HdBufferArrayRangeSharedPtrVector
std::shared_ptr< class HdStResourceRegistry > HdStResourceRegistrySharedPtr