HatchitGraphics
Static Public Member Functions | List of all members
Hatchit::Graphics::Vulkan::VKTools Class Reference

Static Public Member Functions

static bool Initialize (const VKDevice *device, const VKQueue *queue)
 
static void DeInitialize ()
 
static bool CreateUniformBuffer (size_t dataSize, void *data, UniformBlock_vk *uniformBlock)
 
static bool CreateTexelBuffer (size_t dataSize, void *data, TexelBlock_vk *texelBlock)
 
static void DeleteUniformBuffer (UniformBlock_vk &uniformBlock)
 
static void DeleteTexelBuffer (TexelBlock_vk &texelBlock)
 
static VkFormat GetPreferredColorFormat ()
 
static VkFormat GetPreferredDepthFormat ()
 
static void CreateSetupCommandBuffer ()
 
static void FlushSetupCommandBuffer ()
 
static VkCommandBuffer GetSetupCommandBuffer ()
 
static bool SetImageLayout (VkCommandBuffer commandBuffer, VkImage image, VkImageAspectFlags aspectMask, VkImageLayout oldImageLayout, VkImageLayout newImageLayout)
 
static bool SetImageLayout (VkImage image, VkImageAspectFlags aspectMask, VkImageLayout oldImageLayout, VkImageLayout newImageLayout)
 
static bool MemoryTypeFromProperties (uint32_t typeBits, VkFlags requirementsMask, uint32_t *typeIndex)
 

The documentation for this class was generated from the following files: