jGL
Loading...
Searching...
No Matches
include
jGL
Vulkan
Command
commandBuffer.h
Go to the documentation of this file.
1
#ifndef COMMANDBUFFER
2
#define COMMANDBUFFER
3
4
#include <
jGL/Vulkan/Device/device.h
>
5
#include <
jGL/Vulkan/Command/commandPool.h
>
6
7
#include <vector>
8
9
namespace
jGL::Vulkan
10
{
11
class
CommandBuffer
12
{
13
14
public
:
15
16
CommandBuffer
() =
default
;
17
18
CommandBuffer
(
const
Device
& device,
const
CommandPool
& commandPool,
const
unsigned
concurrentFrames);
19
20
const
std::vector<VkCommandBuffer> &
getVkCommandBuffers
()
const
{
return
commandBuffers; }
21
22
private
:
23
24
std::vector<VkCommandBuffer> commandBuffers;
25
26
};
27
}
28
29
#endif
/* COMMANDBUFFER */
jGL::Vulkan::CommandBuffer
Definition
commandBuffer.h:12
jGL::Vulkan::CommandBuffer::CommandBuffer
CommandBuffer()=default
jGL::Vulkan::CommandBuffer::getVkCommandBuffers
const std::vector< VkCommandBuffer > & getVkCommandBuffers() const
Definition
commandBuffer.h:20
jGL::Vulkan::CommandPool
Definition
commandPool.h:9
jGL::Vulkan::Device
Definition
device.h:10
commandPool.h
device.h
jGL::Vulkan
Definition
buffer.h:10
Generated by
1.9.8