| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <nn/gfx/detail/gfx_DataContainer.h> |
| 4 | #include <nn/gfx/gfx_DescriptorPoolInfoData.h> |
| 5 | #include <nn/gfx/gfx_Enum.h> |
| 6 | |
| 7 | namespace nn::gfx { |
| 8 | class DescriptorPoolInfo : public detail::DataContainer<DescriptorPoolInfoData> { |
| 9 | public: |
| 10 | DescriptorPoolInfo(); |
| 11 | void SetDefault(); |
| 12 | void SetDescriptorPoolType(DescriptorPoolType); |
| 13 | void SetSlotCount(int); |
| 14 | |
| 15 | DescriptorPoolType GetDescriptorPoolType() const { |
| 16 | return static_cast<DescriptorPoolType>(descriptorPoolType); |
| 17 | } |
| 18 | |
| 19 | int GetSlotCount() const { return slotCount; } |
| 20 | }; |
| 21 | } // namespace nn::gfx |