Nebula
Loading...
Searching...
No Matches
fence.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
11//------------------------------------------------------------------------------
12#include "ids/id.h"
13#include "coregraphics/config.h"
14
15namespace CoreGraphics
16{
17
19
21{
23};
24
28void DestroyFence(const FenceId id);
29
31bool FencePeek(const FenceId id);
33bool FenceReset(const FenceId id);
35bool FenceWait(const FenceId id, const uint64 time);
37bool FenceWaitAndReset(const FenceId id, const uint64 time);
38
39} // namespace CoreGraphics
#define ID_24_8_TYPE(x)
Definition id.h:132
Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
Definition accelerationstructure.h:24
void DestroyFence(const FenceId id)
destroy a fence
Definition vkfence.cc:62
bool FenceWait(const FenceId id, const uint64 time)
wait for fence
Definition vkfence.cc:92
bool FenceWaitAndReset(const FenceId id, const uint64 time)
wait for fence and reset
Definition vkfence.cc:104
bool FenceReset(const FenceId id)
reset fence status
Definition vkfence.cc:83
FenceId CreateFence(const FenceCreateInfo &info)
create a new fence
Definition vkfence.cc:35
bool FencePeek(const FenceId id)
peek fence status
Definition vkfence.cc:74
Compile time configuration options for the CoreGraphics subsystem.
Definition fence.h:21
bool createSignaled
Definition fence.h:22
Definition fence.h:18
uint64_t uint64
Definition types.h:36