ngfx::D3DFence

Inherits from ngfx::Fence

Public Types

Name
enum Value { UNSIGNALED, SIGNALED}

Public Functions

Name
void create(ID3D12Device * device, Value initialValue =UNSIGNALED)
virtual ~D3DFence()
virtual void wait() override
virtual void reset() override

Public Attributes

Name
ComPtr< ID3D12Fence > v
HANDLE fenceEvent

Additional inherited members

Public Functions inherited from ngfx::Fence

Name
virtual ~Fence()

Public Types Documentation

enum Value

Enumerator Value Description
UNSIGNALED
SIGNALED

Public Functions Documentation

function create

void create(
    ID3D12Device * device,
    Value initialValue =UNSIGNALED
)

function ~D3DFence

inline virtual ~D3DFence()

function wait

virtual void wait() override

Reimplements: ngfx::Fence::wait

Wait for the fence to be signaled by the GPU

function reset

virtual void reset() override

Reimplements: ngfx::Fence::reset

Reset the fence

Public Attributes Documentation

variable v

ComPtr< ID3D12Fence > v;

variable fenceEvent

HANDLE fenceEvent;

Updated on 3 April 2021 at 20:21:51 PDT