24 #ifndef PXR_IMAGING_HGI_GL_GARBAGE_COLLECTOR_H
25 #define PXR_IMAGING_HGI_GL_GARBAGE_COLLECTOR_H
74 HgiGLGarbageCollector &
operator =
75 (
const HgiGLGarbageCollector&) =
delete;
82 T* _GetThreadLocalStorageList(std::vector<T*>* collector);
88 static std::vector<HgiBufferHandleVector*> _bufferList;
89 static std::vector<HgiTextureHandleVector*> _textureList;
90 static std::vector<HgiSamplerHandleVector*> _samplerList;
91 static std::vector<HgiShaderFunctionHandleVector*> _shaderFunctionList;
92 static std::vector<HgiShaderProgramHandleVector*> _shaderProgramList;
93 static std::vector<HgiResourceBindingsHandleVector*> _resourceBindingsList;
94 static std::vector<HgiGraphicsPipelineHandleVector*> _graphicsPipelineList;
95 static std::vector<HgiComputePipelineHandleVector*> _computePipelineList;
HgiBufferHandleVector * GetBufferList()
HGIGL_API void PerformGarbageCollection()
std::vector< HgiShaderProgramHandle > HgiShaderProgramHandleVector
std::vector< HgiTextureHandle > HgiTextureHandleVector
std::vector< HgiShaderFunctionHandle > HgiShaderFunctionHandleVector
HgiGraphicsPipelineHandleVector * GetGraphicsPipelineList()
std::vector< HgiGraphicsPipelineHandle > HgiGraphicsPipelineHandleVector
HGIGL_API HgiGLGarbageCollector()
std::vector< HgiBufferHandle > HgiBufferHandleVector
HgiTextureHandleVector * GetTextureList()
std::vector< HgiResourceBindingsHandle > HgiResourceBindingsHandleVector
HGIGL_API ~HgiGLGarbageCollector()
HgiComputePipelineHandleVector * GetComputePipelineList()
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
std::vector< HgiComputePipelineHandle > HgiComputePipelineHandleVector
HgiSamplerHandleVector * GetSamplerList()
std::vector< HgiSamplerHandle > HgiSamplerHandleVector
HgiResourceBindingsHandleVector * GetResourceBindingsList()
HgiShaderProgramHandleVector * GetShaderProgramList()
HgiShaderFunctionHandleVector * GetShaderFunctionList()