Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
vksemaphore.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
9
//------------------------------------------------------------------------------
10
#include "
coregraphics/semaphore.h
"
11
#include "
ids/idallocator.h
"
12
13
namespace
Vulkan
14
{
15
16
enum
17
{
18
Semaphore_Device
,
19
Semaphore_VkHandle
,
20
Semaphore_Type
,
21
Semaphore_LastIndex
22
};
23
typedef
Ids::IdAllocator
<
24
VkDevice,
25
VkSemaphore,
26
CoreGraphics::SemaphoreType
,
27
uint64_t
28
>
VkSemaphoreAllocator
;
29
extern
VkSemaphoreAllocator
semaphoreAllocator
;
30
32
VkSemaphore
SemaphoreGetVk
(
const
CoreGraphics::SemaphoreId
&
id
);
34
VkDevice
SemaphoreGetVkDevice
(
const
CoreGraphics::SemaphoreId
&
id
);
35
36
}
// namespace Vulkan
Ids::IdAllocator
An ID allocator associates an id with a slice in an N number of arrays.
Definition
idallocator.h:39
idallocator.h
CoreGraphics::SemaphoreType
SemaphoreType
Definition
semaphore.h:26
Vulkan
Vulkan implementation of GPU acceleration structure.
Definition
vkaccelerationstructure.cc:15
Vulkan::VkSemaphoreAllocator
Ids::IdAllocator< VkDevice, VkSemaphore, CoreGraphics::SemaphoreType, uint64_t > VkSemaphoreAllocator
Definition
vksemaphore.h:28
Vulkan::Semaphore_VkHandle
@ Semaphore_VkHandle
Definition
vksemaphore.h:19
Vulkan::Semaphore_LastIndex
@ Semaphore_LastIndex
Definition
vksemaphore.h:21
Vulkan::Semaphore_Type
@ Semaphore_Type
Definition
vksemaphore.h:20
Vulkan::Semaphore_Device
@ Semaphore_Device
Definition
vksemaphore.h:18
Vulkan::SemaphoreGetVkDevice
VkDevice SemaphoreGetVkDevice(const CoreGraphics::SemaphoreId &id)
Get vulkan device.
Definition
vksemaphore.cc:32
Vulkan::SemaphoreGetVk
VkSemaphore SemaphoreGetVk(const CoreGraphics::SemaphoreId &id)
Get vulkan semaphore.
Definition
vksemaphore.cc:22
Vulkan::semaphoreAllocator
VkSemaphoreAllocator semaphoreAllocator(0x00FFFFFF)
Definition
vksemaphore.h:29
semaphore.h
A semaphore is an inter-GPU queue synchronization primitive.
CoreGraphics::SemaphoreId
Definition
semaphore.h:23
code
render
coregraphics
vk
vksemaphore.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.