You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
326 B
18 lines
326 B
#pragma once
|
|
|
|
#include <vector>
|
|
#include <vulkan/vulkan_core.h>
|
|
|
|
class Instance;
|
|
|
|
class CommandPool {
|
|
public:
|
|
explicit CommandPool();
|
|
~CommandPool();
|
|
VkCommandBuffer graphicsBuffer = VK_NULL_HANDLE;
|
|
VkCommandBuffer computeBuffer = VK_NULL_HANDLE;
|
|
VkCommandPool handle = VK_NULL_HANDLE;
|
|
private:
|
|
|
|
void createBuffers();
|
|
}; |