15 #include <vsg/maths/vec2.h>
16 #include <vsg/vk/DescriptorPool.h>
27 bool empty()
const noexcept {
return maxSlot == 0 && numDescriptorSets == 0 && descriptorPoolSizes.empty(); }
30 uint32_t numDescriptorSets = 0;
31 DescriptorPoolSizes descriptorPoolSizes;
33 VkDeviceSize minimumBufferSize = 16 * 1024 * 1024;
34 VkDeviceSize minimumDeviceMemorySize = 16 * 1024 * 1024;
36 uivec2 numLightsRange = {8, 1024};
37 uivec2 numShadowMapsRange = {0, 64};
38 uivec2 shadowMapSize = {2048, 2028};
40 void read(
Input& input)
override;
41 void write(
Output& output)
const override;
ResourceHints provides settings that help preallocation of Vulkan resources and memory.
Definition: ResourceHints.h:23