|
Nebula
|
#include "ids/idallocator.h"#include "coregraphics/resourcetable.h"#include "threading/spinlock.h"#include <array>Go to the source code of this file.
Classes | |
| struct | Vulkan::WriteInfo |
Namespaces | |
| namespace | Vulkan |
| Vulkan implementation of GPU acceleration structure. | |
Typedefs | |
| typedef Ids::IdAllocator< VkDevice, VkDescriptorSet, IndexT, Threading::Spinlock, CoreGraphics::ResourceTableLayoutId, Util::HashTable< uint64_t, WriteInfo >, Util::Array< VkCopyDescriptorSet, 4 > > | Vulkan::VkResourceTableAllocator |
| typedef Ids::IdAllocator< VkDevice, VkDescriptorSetLayout, Util::Array< VkDescriptorPoolSize >, Util::Array< Util::Pair< CoreGraphics::SamplerId, uint32_t > >, Util::HashTable< uint32_t, bool >, Util::Array< VkDescriptorPool >, Util::Array< uint > > | Vulkan::VkResourceTableLayoutAllocator |
| typedef Ids::IdAllocator< VkDevice, VkPipelineLayout > | Vulkan::VkResourcePipelineAllocator |
| Resource pipeline. | |
Functions | |
| const VkDescriptorSet & | Vulkan::ResourceTableGetVkDescriptorSet (CoreGraphics::ResourceTableId id) |
| Get descriptor set. | |
| const IndexT | Vulkan::ResourceTableGetVkPoolIndex (CoreGraphics::ResourceTableId id) |
| Get descriptor pool index. | |
| const VkDevice & | Vulkan::ResourceTableGetVkDevice (CoreGraphics::ResourceTableId id) |
| Get device used to create resource table. | |
| void | Vulkan::SetupEmptyDescriptorSetLayout () |
| run this before using any resource tables | |
| const VkDescriptorSetLayout & | Vulkan::ResourceTableLayoutGetVk (const CoreGraphics::ResourceTableLayoutId &id) |
| get table layout | |
| void | Vulkan::ResourceTableLayoutAllocTable (const CoreGraphics::ResourceTableLayoutId &id, const VkDevice dev, uint overallocationSize, IndexT &outIndex, VkDescriptorSet &outSet) |
| allocate new descriptor set from pool | |
| void | Vulkan::ResourceTableLayoutDeallocTable (const CoreGraphics::ResourceTableLayoutId &id, const VkDevice dev, const VkDescriptorSet &set, const IndexT index) |
| deallocate descriptor set from pool | |
| const VkDescriptorPool & | Vulkan::ResourceTableLayoutGetVkDescriptorPool (const CoreGraphics::ResourceTableLayoutId &id, const IndexT index) |
| Get descriptor pool. | |
| uint * | Vulkan::ResourceTableLayoutGetFreeItemsCounter (const CoreGraphics::ResourceTableLayoutId &id, const IndexT index) |
| Get descriptor pool free items counter. | |
| const VkPipelineLayout & | Vulkan::ResourcePipelineGetVk (const CoreGraphics::ResourcePipelineId &id) |
| get pipeline layout | |