|
VulkanRaytracingCycles 0.0.0
Cycles Render Engine With VulkanRaytracingShaderModules. ( Experiment , in progress)
|
interface More...
Classes | |
| struct | Allocation_T |
| struct | AllocationCreateInfo |
| struct | AllocationInfo |
| struct | Allocator_T |
| struct | AllocatorCreateInfo |
| struct | BufferAllocation |
| struct | DefragmentationInfo |
| struct | DefragmentationStats |
| struct | DeviceMemoryCallbacks |
| struct | MemoryVk |
| struct | PointerLess |
| struct | PoolCreateInfo |
| struct | PoolStats |
| struct | StatInfo |
| struct | Stats |
| General statistics from current state of Allocator. More... | |
| class | StlAllocator |
| struct | VkMAInfo |
Functions | |
| VkResult | CreateAllocator (const AllocatorCreateInfo *pCreateInfo, Allocator *pAllocator) |
| VkResult | MapMemory (Allocator allocator, Allocation allocation, void **ppData) |
| void | UnmapMemory (Allocator allocator, Allocation allocation) |
| template<typename CmpLess , typename VectorT > | |
| bool | VectorRemoveSorted (VectorT &v, typename VectorT::value_type &value) |
| template<typename CmpLess , typename VectorT > | |
| size_t | VectorInsertSorted (VectorT &vector, const typename VectorT::value_type &value) |
| template<typename P , typename T > | |
| void | append_pNext (P &parent, T &child) |
| template<typename T > | |
| void | _printbits (T number, unsigned int num_bits_to_print) |
| template<typename T > | |
| void | printbits (T number) |
| VkResult | FindMemoryTypeIndex (Allocator allocator, uint32_t memoryTypeBits, AllocationCreateInfo *pAllocationCreateInfo, uint32_t *pMemoryTypeIndex) |
| VkResult | CreateBuffer (Allocator allocator, const VkBufferCreateInfo *pBufferCreateInfo, AllocationCreateInfo &pAllocationCreateInfo, VkBuffer *pBuffer, Allocation *pAllocation, AllocationInfo *pAllocationInfo) |
| void | DestroyBuffer (Allocator allocator, VkBuffer buffer, Allocation allocation) |
| void * | Malloc (Allocator hAllocator, size_t size, size_t alignment) |
| void | Free (Allocator hAllocator, void *ptr) |
| template<typename T > | |
| T | RoundDiv (T x, T y) |
interface
block
allocate
vulkan
utils
vector
| typedef VkFlags vkmm::AllocationCreateFlags |
Definition at line 625 of file AllocatorVk.h.
| typedef struct vkmm::AllocationCreateInfo vkmm::AllocationCreateInfo |
| typedef struct vkmm::AllocationInfo vkmm::AllocationInfo |
| typedef struct Allocator_T* vkmm::Allocator |
Definition at line 68 of file vthreepy_types.h.
Description of a Allocator to be created. /// Flags for created #VmaAllocator.
| typedef VkFlags vkmm::AllocatorCreateFlags |
Definition at line 550 of file AllocatorVk.h.
| typedef struct vkmm::AllocatorCreateInfo vkmm::AllocatorCreateInfo |
| typedef struct vkmm::DefragmentationInfo vkmm::DefragmentationInfo |
| typedef struct vkmm::DefragmentationStats vkmm::DefragmentationStats |
| typedef struct vkmm::DeviceMemoryCallbacks vkmm::DeviceMemoryCallbacks |
| typedef enum vkmm::MemoryUsage vkmm::MemoryUsage |
| typedef void(VKAPI_PTR * vkmm::PFN_AllocateDeviceMemoryFunction) (Allocator allocator, uint32_t memoryType, VkDeviceMemory memory, VkDeviceSize size) |
VK_DEFINE_HANDLE(Allocator)
Definition at line 522 of file AllocatorVk.h.
| typedef void(VKAPI_PTR * vkmm::PFN_FreeDeviceMemoryFunction) (Allocator allocator, uint32_t memoryType, VkDeviceMemory memory, VkDeviceSize size) |
Callback function called before vkFreeMemory.
Definition at line 528 of file AllocatorVk.h.
| typedef enum vkmm::PoolCreateFlagBits vkmm::PoolCreateFlagBits |
| typedef VkFlags vkmm::PoolCreateFlags |
Definition at line 654 of file AllocatorVk.h.
| typedef struct vkmm::PoolCreateInfo vkmm::PoolCreateInfo |
| typedef struct vkmm::PoolStats vkmm::PoolStats |
| typedef struct vkmm::StatInfo vkmm::StatInfo |
| typedef struct vkmm::Stats vkmm::Stats |
General statistics from current state of Allocator.
Definition at line 607 of file AllocatorVk.h.
Description of a Allocator to be created. /// Flags for created #VmaAllocator.
| Enumerator | |
|---|---|
| ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT | |
| ALLOCATOR_CREATE_KHR_DEDICATED_ALLOCATION_BIT | |
| ALLOCATOR_CREATE_FLAG_BITS_MAX_ENUM | |
Definition at line 542 of file AllocatorVk.h.
| enum vkmm::MemoryUsage |
| Enumerator | |
|---|---|
| MEMORY_USAGE_UNKNOWN | |
| MEMORY_USAGE_GPU | |
| MEMORY_USAGE_GPU_ONLY | |
| MEMORY_USAGE_CPU_ONLY | |
| MEMORY_USAGE_CPU_TO_GPU | |
| MEMORY_USAGE_GPU_TO_CPU | |
| MEMORY_USAGE_MAX_ENUM | |
Definition at line 596 of file AllocatorVk.h.
| Enumerator | |
|---|---|
| POOL_CREATE_IGNORE_BUFFER_IMAGE_GRANULARITY_BIT | |
| POOL_CREATE_LINEAR_ALGORITHM_BIT | |
| POOL_CREATE_FLAG_BITS_MAX_ENUM | |
Definition at line 646 of file AllocatorVk.h.
Definition at line 738 of file AllocatorVk.h.
| void vkmm::_printbits | ( | T | number, |
| unsigned int | num_bits_to_print | ||
| ) |
Definition at line 391 of file AllocatorVk.cpp.
| void vkmm::append_pNext | ( | P & | parent, |
| T & | child | ||
| ) |
Definition at line 375 of file AllocatorVk.cpp.
| VkResult vkmm::CreateAllocator | ( | const AllocatorCreateInfo * | pCreateInfo, |
| Allocator * | pAllocator | ||
| ) |
Definition at line 228 of file AllocatorVk.cpp.
| VkResult vkmm::CreateBuffer | ( | Allocator | allocator, |
| const VkBufferCreateInfo * | pBufferCreateInfo, | ||
| AllocationCreateInfo & | pAllocationCreateInfo, | ||
| VkBuffer * | pBuffer, | ||
| Allocation * | pAllocation, | ||
| AllocationInfo * | pAllocationInfo | ||
| ) |
VMA_DEBUG_GLOBAL_MUTEX_LOCK
Definition at line 934 of file AllocatorVk.cpp.
| void vkmm::DestroyBuffer | ( | Allocator | allocator, |
| VkBuffer | buffer, | ||
| Allocation | allocation | ||
| ) |
VKMM_DEBUG_GLOBAL_MUTEX_LOCK
Definition at line 1030 of file AllocatorVk.cpp.
| VkResult vkmm::FindMemoryTypeIndex | ( | Allocator | allocator, |
| uint32_t | memoryTypeBits, | ||
| AllocationCreateInfo * | pAllocationCreateInfo, | ||
| uint32_t * | pMemoryTypeIndex | ||
| ) |
Definition at line 425 of file AllocatorVk.cpp.
| void vkmm::Free | ( | Allocator | hAllocator, |
| void * | ptr | ||
| ) |
Definition at line 1184 of file AllocatorVk.cpp.
| void * vkmm::Malloc | ( | Allocator | hAllocator, |
| size_t | size, | ||
| size_t | alignment | ||
| ) |
Definition at line 1179 of file AllocatorVk.cpp.
| VkResult vkmm::MapMemory | ( | Allocator | allocator, |
| Allocation | allocation, | ||
| void ** | ppData | ||
| ) |
Definition at line 238 of file AllocatorVk.cpp.
| void vkmm::printbits | ( | T | number | ) |
Definition at line 399 of file AllocatorVk.cpp.
|
inline |
Definition at line 1403 of file AllocatorVk.h.
| void vkmm::UnmapMemory | ( | Allocator | allocator, |
| Allocation | allocation | ||
| ) |
Definition at line 252 of file AllocatorVk.cpp.
| size_t vkmm::VectorInsertSorted | ( | VectorT & | vector, |
| const typename VectorT::value_type & | value | ||
| ) |
Definition at line 341 of file AllocatorVk.cpp.
| bool vkmm::VectorRemoveSorted | ( | VectorT & | v, |
| typename VectorT::value_type & | value | ||
| ) |
Definition at line 278 of file AllocatorVk.cpp.