diff --git a/inc/hgl/graph/VKMemoryAllocator.h b/inc/hgl/graph/VKMemoryAllocator.h index d8a7f953..1bd60d7a 100644 --- a/inc/hgl/graph/VKMemoryAllocator.h +++ b/inc/hgl/graph/VKMemoryAllocator.h @@ -23,6 +23,8 @@ public: const uint32_t GetBufferUsageFlagBits ()const{return buffer_usage_flag_bits;} + GPUBuffer * GetBuffer (){return gpu_buffer;} + public: VKMemoryAllocator(GPUDevice *,const uint32_t flags);