#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 |
A simple wrapper around ID3D12Fence that also includes a monotonically increasing fence value.