The VulkanObject Class Definitions. More...
#include "Core/Core.h"#include "VulkanDebugUtils.h"#include "Debugger/Aftermath/NsightAftermathGpuCrashTracker.h"#include "VulkanFunctions.h"#include "vk_mem_alloc.h"#include <vector>Go to the source code of this file.
Classes | |
| struct | Spices::VulkanState |
| This struct contains all Vulkan object in used global. More... | |
| class | Spices::VulkanObject |
| VulkanObject Class. This class defines the basic behaves of VulkanObject. When we create an new VulkanObject, we need inherit from this. More... | |
Namespaces | |
| namespace | Spices |
Macros | |
| #define | VMA_ALLOCATOR 1 |
| Use VMA for memory allocate. | |
| #define | VKImageHostOperation 0 |
| Disable Host Image copy for host memory heap is too smaller. | |
| #define | VK_CHECK(expr) { auto expr_value = expr; ASSERT(expr_value == VK_SUCCESS); HandleVkResult(expr_value); } |
| Vulkan Check macro. Verify Vulkan API Effectiveness. | |
Functions | |
| static void | Spices::HandleVkResult (VkResult result) |
| Handle VkResult Function. | |
Variables | |
| constexpr uint32_t | Spices::MaxFrameInFlight = 2 |
| Max In Flight Frame. 2 buffers are enough in this program. | |
The VulkanObject Class Definitions.
Definition in file VulkanUtils.h.