1#pragma once
2
3#include <nn/gfx/detail/gfx_DataContainer.h>
4#include <nn/gfx/gfx_MemoryPoolInfoData.h>
5
6namespace nn::gfx {
7
8class MemoryPoolInfo : public detail::DataContainer<MemoryPoolInfoData> {
9public:
10 MemoryPoolInfo() {}
11
12 void SetDefault();
13
14 void SetMemoryPoolProperty(int value) { memoryPoolProperty = value; }
15
16 void SetPoolMemory(void* value, size_t size) {
17 pMemory = value;
18 memorySize = size;
19 }
20
21 int GetMemoryPoolProperty() const { return memoryPoolProperty; }
22 void* GetPoolMemory() const { return pMemory; }
23 size_t GetPoolMemorySize() const { return memorySize; }
24};
25
26} // namespace nn::gfx