Kohi Game Engine
|
Represents a Vulkan-specific command buffer, which holds a list of commands and is submitted to a queue for execution. More...
#include <vulkan_types.h>
Data Fields | |
VkCommandBuffer | handle |
The internal command buffer handle. More... | |
vulkan_command_buffer_state | state |
Command buffer state. More... | |
b8 | is_primary |
Indicates if this is a primary or secondary command buffer. More... | |
u16 | secondary_count |
The number of secondary buffers that are children to this one. Primary buffer use only. More... | |
struct vulkan_command_buffer * | secondary_buffers |
An array of secondary buffers that are children to this one. Primary buffer use only. More... | |
u16 | secondary_buffer_index |
The currently selected secondary buffer index. More... | |
b8 | in_secondary |
Indicates if a secondary command buffer is currently being recorded to. More... | |
struct vulkan_command_buffer * | parent |
Represents a Vulkan-specific command buffer, which holds a list of commands and is submitted to a queue for execution.
VkCommandBuffer handle |
The internal command buffer handle.
b8 in_secondary |
Indicates if a secondary command buffer is currently being recorded to.
b8 is_primary |
Indicates if this is a primary or secondary command buffer.
struct vulkan_command_buffer* parent |
A pointer to the parent (primary) command buffer, if there is one. Only applies to secondary buffers.
u16 secondary_buffer_index |
The currently selected secondary buffer index.
struct vulkan_command_buffer* secondary_buffers |
An array of secondary buffers that are children to this one. Primary buffer use only.
u16 secondary_count |
The number of secondary buffers that are children to this one. Primary buffer use only.
Command buffer state.