evan 2026.1.4
Evan
Loading...
Searching...
No Matches
evan::ADeviceBackend::TransitionImageLayoutProperties Struct Reference

Encapsulates the properties required to perform an image layout transition in Vulkan. More...

#include <headers/evan/ADeviceBackend.hpp>

Public Attributes

VkCommandPool _commandPool
 The Vulkan command pool used to allocate command buffers for the layout transition.
 
VkQueue _graphicsQueue
 The Vulkan graphics queue used to submit the command buffer for execution.
 
VkImage _image
 The Vulkan image whose layout is to be transitioned.
 
VkFormat _format
 The format of the image being transitioned.
 
VkImageLayout _oldLayout
 The old layout of the image before the transition.
 
VkImageLayout _newLayout
 The new layout of the image after the transition.
 
uint32_t _mipLevels
 The number of mipmap levels in the image.
 

Detailed Description

Encapsulates the properties required to perform an image layout transition in Vulkan.

This structure holds all necessary Vulkan objects and parameters needed to transition the layout of a VkImage, such as device, command pool, queue, image, format, old and new layouts, and the number of mipmap levels.

Definition at line 141 of file ADeviceBackend.hpp.

Member Data Documentation

◆ _commandPool

VkCommandPool evan::ADeviceBackend::TransitionImageLayoutProperties::_commandPool

The Vulkan command pool used to allocate command buffers for the layout transition.

Definition at line 146 of file ADeviceBackend.hpp.

◆ _format

VkFormat evan::ADeviceBackend::TransitionImageLayoutProperties::_format

The format of the image being transitioned.

Definition at line 159 of file ADeviceBackend.hpp.

◆ _graphicsQueue

VkQueue evan::ADeviceBackend::TransitionImageLayoutProperties::_graphicsQueue

The Vulkan graphics queue used to submit the command buffer for execution.

Definition at line 151 of file ADeviceBackend.hpp.

◆ _image

VkImage evan::ADeviceBackend::TransitionImageLayoutProperties::_image

The Vulkan image whose layout is to be transitioned.

Definition at line 155 of file ADeviceBackend.hpp.

◆ _mipLevels

uint32_t evan::ADeviceBackend::TransitionImageLayoutProperties::_mipLevels

The number of mipmap levels in the image.

Definition at line 171 of file ADeviceBackend.hpp.

◆ _newLayout

VkImageLayout evan::ADeviceBackend::TransitionImageLayoutProperties::_newLayout

The new layout of the image after the transition.

Definition at line 167 of file ADeviceBackend.hpp.

◆ _oldLayout

VkImageLayout evan::ADeviceBackend::TransitionImageLayoutProperties::_oldLayout

The old layout of the image before the transition.

Definition at line 163 of file ADeviceBackend.hpp.


The documentation for this struct was generated from the following file: