forked from DadSchoorse/vkBasalt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommand_buffer.hpp
30 lines (23 loc) · 1.07 KB
/
command_buffer.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef COMMAND_BUFFER_HPP_INCLUDED
#define COMMAND_BUFFER_HPP_INCLUDED
#include <vector>
#include <fstream>
#include <string>
#include <iostream>
#include <vector>
#include <memory>
#include "vulkan_include.hpp"
#include "logical_device.hpp"
#include "effect.hpp"
namespace vkBasalt
{
std::vector<VkCommandBuffer> allocateCommandBuffer(LogicalDevice* pLogicalDevice, uint32_t count);
void writeCommandBuffers(LogicalDevice* pLogicalDevice,
std::vector<std::shared_ptr<vkBasalt::Effect>> effects,
VkImage depthImage,
VkImageView depthImageView,
VkFormat depthFormat,
std::vector<VkCommandBuffer> commandBuffers);
std::vector<VkSemaphore> createSemaphores(LogicalDevice* pLogicalDevice, uint32_t count);
} // namespace vkBasalt
#endif // COMMAND_BUFFER_HPP_INCLUDED