VOX
A little voxel engine
Loading...
Searching...
No Matches
vk_helper.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "vk_define.hpp"
4
5namespace vk_helper
6{
7 uint32_t findMemoryType(
8 VkPhysicalDevice physical_device,
9 uint32_t type_filter,
10 VkMemoryPropertyFlags properties
11 );
12
14 VkCommandBuffer command_buffer,
15 VkImage image,
16 VkImageLayout old_layout,
17 VkImageLayout new_layout,
18 VkImageSubresourceRange subresource_range,
19 VkAccessFlags srcAccessMask,
20 VkAccessFlags dstAccessMask,
21 VkPipelineStageFlags srcStageMask,
22 VkPipelineStageFlags dstStageMask
23 );
24
25}
Definition: vk_helper.cpp:7
uint32_t findMemoryType(VkPhysicalDevice physical_device, uint32_t type_filter, VkMemoryPropertyFlags properties)
Definition: vk_helper.cpp:8
void setImageLayout(VkCommandBuffer command_buffer, VkImage image, VkImageLayout old_layout, VkImageLayout new_layout, VkImageSubresourceRange subresource_range, VkAccessFlags srcAccessMask, VkAccessFlags dstAccessMask, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask)