MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Reset

Method Reset

Source/Engine/GraphicsDevice/Vulkan/DescriptorSetVulkan.cpp:169–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void DescriptorPoolVulkan::Reset()
170{
171 if (_handle != VK_NULL_HANDLE)
172 {
173 VALIDATE_VULKAN_RESULT(vkResetDescriptorPool(_device->Device, _handle, 0));
174 }
175 _allocatedDescriptorSetsCount = 0;
176}
177
178bool DescriptorPoolVulkan::AllocateDescriptorSets(const VkDescriptorSetAllocateInfo& descriptorSetAllocateInfo, VkDescriptorSet* result)
179{

Callers 1

Calls 2

BeginMethod · 0.45
IsNotEndMethod · 0.45

Tested by

no test coverage detected