TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
vk_images.h
Go to the documentation of this file.
1
2#pragma once
3
4#include <vulkan/vulkan.h>
5
6namespace tachyon::vulkan
7{
10
15 void transition_image(VkCommandBuffer cmd, VkImage image, VkImageLayout currentLayout, VkImageLayout newLayout,
16 VkPipelineStageFlags2 afterStage = VK_PIPELINE_STAGE_2_NONE);
17 void copy_image_to_image(VkCommandBuffer cmd, VkImage source, VkImage destination,VkExtent2D srcSize, VkExtent2D dstSize);
18 void generate_mipmaps(VkCommandBuffer cmd, VkImage image, VkExtent2D imageSize);
20}
void transition_image(VkCommandBuffer cmd, VkImage image, VkImageLayout currentLayout, VkImageLayout newLayout, VkPipelineStageFlags2 afterStage=VK_PIPELINE_STAGE_2_NONE)
Records a layout transition of image into cmd.
void copy_image_to_image(VkCommandBuffer cmd, VkImage source, VkImage destination, VkExtent2D srcSize, VkExtent2D dstSize)
void generate_mipmaps(VkCommandBuffer cmd, VkImage image, VkExtent2D imageSize)
Definition vk_defaults.h:4