7 #ifndef PXR_IMAGING_HGI_GL_GARBAGE_COLLECTOR_H
8 #define PXR_IMAGING_HGI_GL_GARBAGE_COLLECTOR_H
57 HgiGLGarbageCollector &
operator =
58 (
const HgiGLGarbageCollector&) =
delete;
65 T* _GetThreadLocalStorageList(std::vector<T*>* collector);
71 static std::vector<HgiBufferHandleVector*> _bufferList;
72 static std::vector<HgiTextureHandleVector*> _textureList;
73 static std::vector<HgiSamplerHandleVector*> _samplerList;
74 static std::vector<HgiShaderFunctionHandleVector*> _shaderFunctionList;
75 static std::vector<HgiShaderProgramHandleVector*> _shaderProgramList;
76 static std::vector<HgiResourceBindingsHandleVector*> _resourceBindingsList;
77 static std::vector<HgiGraphicsPipelineHandleVector*> _graphicsPipelineList;
78 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()