51 vkDestroyDevice(
device,
nullptr);
58 vkDestroyInstance(
instance,
nullptr);
75 vkDestroyFramebuffer(
device, framebuffer,
nullptr);
79 vkDestroyImageView(
device, imageView,
nullptr);
void DestroyDebugUtilsMessengerEXT(VkInstance instance, VkDebugUtilsMessengerEXT debugMessenger, const VkAllocationCallbacks *pAllocator)
const int MAX_FRAMES_IN_FLIGHT
VkImageView textureImageView
std::vector< VkDeviceMemory > uniformBuffersMemory
void cleanupVertexBuffer()
std::vector< VkSemaphore > renderFinishedSemaphores
VkDeviceMemory textureImageMemory
VkDeviceMemory colorImageMemory
std::vector< VkFence > inFlightFences
VkPipelineLayout pipelineLayout
std::vector< VkFramebuffer > swapChainFramebuffers
VkPipeline graphicsPipeline
std::vector< VkSemaphore > imageAvailableSemaphores
VkDescriptorPool descriptorPool
std::vector< VkBuffer > uniformBuffers
VkDeviceMemory indexBufferMemory
VkDebugUtilsMessengerEXT debugMessenger
VkDeviceMemory vertexBufferMemory
VkDeviceMemory depthImageMemory
VkCommandPool commandPool
VkImageView colorImageView
VkImageView depthImageView
std::vector< VkImageView > swapChainImageViews
VkDescriptorSetLayout descriptorSetLayout