7 #ifndef PXR_IMAGING_HD_ST_EXT_COMP_GPU_COMPUTATION_RESOURCE_H
8 #define PXR_IMAGING_HD_ST_EXT_COMP_GPU_COMPUTATION_RESOURCE_H
13 #include "pxr/imaging/hdSt/resourceBinder.h"
14 #include "pxr/imaging/hdSt/extCompComputeShader.h"
22 std::shared_ptr<class HdStExtCompGpuComputationResource>;
25 std::vector<HdBufferArrayRangeSharedPtr>;
58 HdSt_ExtCompComputeShaderSharedPtr
const &kernel,
76 if (!_computeProgram) {
79 return _computeProgram;
86 if (!_computeProgram) {
89 return _resourceBinder;
99 HdSt_ExtCompComputeShaderSharedPtr _kernel;
102 size_t _shaderSourceHash;
105 HdSt_ResourceBinder _resourceBinder;
116 #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