23 VkImageTiling
tiling = VK_IMAGE_TILING_OPTIMAL;
54 VkPhysicalDevice physical_device,
60 VkCommandBuffer command_buffer,
61 VkImageLayout old_layout,
62 VkImageLayout new_layout,
63 VkPipelineStageFlags src_stage = VK_PIPELINE_STAGE_NONE,
64 VkPipelineStageFlags dst_stage = VK_PIPELINE_STAGE_NONE
84 VkPhysicalDevice m_physical_device;
~Image()
Definition: Image.cpp:71
VkExtent3D extent3D
Definition: Image.hpp:76
VkSampler sampler
Definition: Image.hpp:72
Image(const Image &)=delete
VkFormat format
Definition: Image.hpp:74
void clear()
Definition: Image.cpp:654
Image & operator=(const Image &)=delete
Image()
Definition: Image.cpp:14
uint32_t array_layers
Definition: Image.hpp:79
uint32_t mip_levels
Definition: Image.hpp:78
VkImageAspectFlags aspect_mask
Definition: Image.hpp:77
VkExtent2D extent2D
Definition: Image.hpp:75
void transitionLayout(VkCommandBuffer command_buffer, VkImageLayout old_layout, VkImageLayout new_layout, VkPipelineStageFlags src_stage=VK_PIPELINE_STAGE_NONE, VkPipelineStageFlags dst_stage=VK_PIPELINE_STAGE_NONE)
Definition: Image.cpp:520
VkImageView view
Definition: Image.hpp:71
VkDeviceMemory memory
Definition: Image.hpp:70
VkImage image
Definition: Image.hpp:69
Definition: Command.hpp:8
VkFilter sampler_filter
Definition: Image.hpp:35
VkImageTiling tiling
Definition: Image.hpp:23
VkImageLayout final_layout
Definition: Image.hpp:30
std::vector< std::string > file_paths
Definition: Image.hpp:28
uint32_t mip_levels
Definition: Image.hpp:19
VkMemoryPropertyFlags memory_properties
Definition: Image.hpp:26
bool create_view
Definition: Image.hpp:32
VkImageAspectFlags aspect_mask
Definition: Image.hpp:18
uint32_t array_layers
Definition: Image.hpp:20
bool create_sampler
Definition: Image.hpp:34
VkBool32 sampler_anisotropy_enable
Definition: Image.hpp:37
VkImageUsageFlags usage
Definition: Image.hpp:25
VkFormat format
Definition: Image.hpp:22
VkSamplerAddressMode sampler_address_mode
Definition: Image.hpp:36
VkExtent2D extent
Definition: Image.hpp:17
bool is_cube_map
Definition: Image.hpp:39