VulkanEngine 0.1
Graphics engine using Vulkan
Loading...
Searching...
No Matches
SingleUsageCommandBuffer.h
1// Copyright (c) 2024 Michael Carlie. All Rights Reserved.
2//
3// This software is released under the MIT License.
4// https://opensource.org/licenses/MIT
5
6#ifndef INCLUDE_VULKANENGINE_SINGLEUSAGECOMMANDBUFFER_H_
7#define INCLUDE_VULKANENGINE_SINGLEUSAGECOMMANDBUFFER_H_
8
9#include <vulkan/vulkan.hpp>
10
11namespace VulkanEngine {
12
17 public:
20
23
25 vk::CommandBuffer single_use_command_buffer;
26};
27
28} // namespace VulkanEngine
29
30#endif // INCLUDE_VULKANENGINE_SINGLEUSAGECOMMANDBUFFER_H_
Definition: SingleUsageCommandBuffer.h:16
void beginSingleUsageCommandBuffer()
Creates and starts recording the command buffer.
Definition: SingleUsageCommandBuffer.cpp:27
vk::CommandBuffer single_use_command_buffer
The single use command buffer.
Definition: SingleUsageCommandBuffer.h:25
void endSingleUsageCommandBuffer()
Stops recording and submits the command buffer.
Definition: SingleUsageCommandBuffer.cpp:52
TODO development of this class is in progress.
Definition: Attribute.h:13