Plasma Engine
2.0
Loading...
Searching...
No Matches
SemaphorePoolVulkan.h
1
#pragma once
2
3
#include <RendererVulkan/RendererVulkanDLL.h>
4
5
#include <vulkan/vulkan.hpp>
6
17
class
PL_RENDERERVULKAN_DLL
plSemaphorePoolVulkan
18
{
19
public
:
20
static
void
Initialize(vk::Device device);
21
static
void
DeInitialize();
22
23
static
vk::Semaphore RequestSemaphore();
24
static
void
ReclaimSemaphore(vk::Semaphore& semaphore);
25
26
private
:
27
static
plHybridArray<vk::Semaphore, 4>
s_semaphores;
28
static
vk::Device s_device;
29
};
plHybridArray
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition
HybridArray.h:12
plSemaphorePoolVulkan
Simple pool for semaphores.
Definition
SemaphorePoolVulkan.h:18
Code
Engine
RendererVulkan
Pools
SemaphorePoolVulkan.h
Generated by
1.11.0