|
Hymn to Beauty
C++ 3D Engine
|
#include <vulkan/vulkan.h>#include <glm/glm.hpp>Go to the source code of this file.
Namespaces | |
| namespace | Video |
| namespace | Video::Utility |
| Utility functions. | |
Functions | |
| uint32_t | Video::Utility::FindMemoryType (VkPhysicalDevice physicalDevice, uint32_t typeFilter, VkMemoryPropertyFlags properties) |
| Find the memory type to use for a certain allocation. More... | |
| void | Video::Utility::CreateBuffer (VkDevice device, VkPhysicalDevice physicalDevice, unsigned int size, VkBufferUsageFlags usage, VkMemoryPropertyFlags memoryProperties, VkBuffer *buffer, VkDeviceMemory *deviceMemory) |
| Create a buffer. More... | |
| void | Video::Utility::CreateImage2D (VkDevice device, VkPhysicalDevice physicalDevice, const glm::uvec2 &size, uint32_t mipLevels, VkFormat format, VkImageTiling tiling, VkImageUsageFlags usage, VkMemoryPropertyFlags memoryProperties, VkImage *image, VkDeviceMemory *deviceMemory) |
| Create a 2D image, allocate and bind device memory to it. More... | |
| void | Video::Utility::TransitionImage (VkCommandBuffer commandBuffer, VkImage image, VkImageLayout oldLayout, VkImageLayout newLayout) |
| Record transitioning an image into a command buffer. More... | |