Nebula
Loading...
Searching...
No Matches
semaphore.h File Reference

Detailed Description

A semaphore is an inter-GPU queue synchronization primitive.

#include "ids/id.h"
#include "barrier.h"

Go to the source code of this file.

Classes

struct  CoreGraphics::SemaphoreId
 
struct  CoreGraphics::SemaphoreCreateInfo
 

Namespaces

namespace  CoreGraphics
 Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
 

Enumerations

enum  CoreGraphics::SemaphoreType { CoreGraphics::Binary , CoreGraphics::Timeline }
 

Functions

SemaphoreId CoreGraphics::CreateSemaphore (const SemaphoreCreateInfo &info)
 create semaphore
 
void CoreGraphics::DestroySemaphore (const SemaphoreId &semaphore)
 destroy semaphore
 
uint64 CoreGraphics::SemaphoreGetValue (const SemaphoreId &semaphore)
 get semaphore index
 
void CoreGraphics::SemaphoreSignal (const SemaphoreId &semaphore)
 signal semaphore
 
void CoreGraphics::SemaphoreReset (const SemaphoreId &semaphore)
 reset semaphore