Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::DX12::Fence Class Referencefinal

#include <Fence.h>

Public Member Functions

 AZ_CLASS_ALLOCATOR (Fence, AZ::SystemAllocator)
 
RHI::ResultCode Init (ID3D12DeviceX *dx12Device, RHI::FenceState initialState)
 
void Shutdown ()
 
uint64_t Increment ()
 
void Signal ()
 
void Wait (FenceEvent &fenceEvent) const
 
void Wait (FenceEvent &fenceEvent, uint64_t fenceValue) const
 
uint64_t GetPendingValue () const
 
uint64_t GetCompletedValue () const
 
RHI::FenceState GetFenceState () const
 
ID3D12Fence * Get () const
 

Detailed Description

A simple wrapper around ID3D12Fence that also includes a monotonically increasing fence value.


The documentation for this class was generated from the following file: