Struct atlas::vk::command_buffer_settings
ClassList > atlas > vk > command_buffer_settings
settings for specifying command buffers to construct More...
#include <vk_types.hpp>
Public Attributes
Type | Name |
---|---|
command_buffer_levels | levels |
VkCommandPoolCreateFlagBits | pool_flag |
uint32_t | queue_index = -1 |
Public Functions
Type | Name |
---|---|
command_buffer_settings (uint32_t p_queue_family, const command_buffer_levels & p_levels, const VkCommandPoolCreateFlagBits & p_pool_flags) |
Detailed Description
Parameters:
Levels
are for specifying the kind of command buffer being constructed
queue_index specifies the queue family associated with this command buffer
pool_flag in the context of the command buffers are used to control memory allocation behavior within the command buffer pool to allocate
Parameters:
VK_COMMAND_POOL_CREATE_TRANSIENT_BIT
Indicates command buffers allocated from pool will be short-lived, meaning they'll reset or freed quicklyVK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT
Allows individual command buffers allocated from the pool to be reset to their initial state usingvkResetCommandBuffer
VK_COMMAND_POOL_CREATE_PROTECTED_BIT
Designates command buffers allocated from the pool as protective command buffers, implying they are stored in protected memory and access to them is restricted to authorized operations
Public Attributes Documentation
variable levels
command_buffer_levels atlas::vk::command_buffer_settings::levels;
variable pool_flag
VkCommandPoolCreateFlagBits atlas::vk::command_buffer_settings::pool_flag;
variable queue_index
uint32_t atlas::vk::command_buffer_settings::queue_index;
Public Functions Documentation
function command_buffer_settings
inline atlas::vk::command_buffer_settings::command_buffer_settings (
uint32_t p_queue_family,
const command_buffer_levels & p_levels,
const VkCommandPoolCreateFlagBits & p_pool_flags
)
The documentation for this class was generated from the following file TheAtlasEngine/atlas/drivers/vulkan-cpp/vk_types.hpp