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
2 months ago
|
#pragma once
|
||
|
|
||
|
#include <vector>
|
||
2 months ago
|
#include <vulkan/vulkan_core.h>
|
||
|
|
||
|
class Instance;
|
||
2 months ago
|
|
||
|
class CommandPool {
|
||
|
public:
|
||
2 months ago
|
explicit CommandPool();
|
||
2 months ago
|
~CommandPool();
|
||
2 months ago
|
VkCommandBuffer graphicsBuffer = VK_NULL_HANDLE;
|
||
|
VkCommandBuffer computeBuffer = VK_NULL_HANDLE;
|
||
2 months ago
|
VkCommandPool handle = VK_NULL_HANDLE;
|
||
2 months ago
|
private:
|
||
|
|
||
|
void createBuffers();
|
||
|
};
|