ngfx::Fence
Inherited by ngfx::D3DFence, ngfx::VKFence
Public Functions
Name | |
---|---|
Fence * | create(Device * device, FenceCreateFlags flags =0) |
virtual | ~Fence() |
virtual void | wait() =0 |
virtual void | reset() =0 |
Public Functions Documentation
function create
static Fence * create(
Device * device,
FenceCreateFlags flags =0
)
Parameters:
- device The GPU device handle
- flags Additional fence create flags (optional)
Create the fence object
function ~Fence
inline virtual ~Fence()
Destroy the fence object
function wait
virtual void wait() =0
Reimplemented by: ngfx::VKFence::wait, ngfx::D3DFence::wait
Wait for the fence to be signaled by the GPU
function reset
virtual void reset() =0
Reimplemented by: ngfx::VKFence::reset, ngfx::D3DFence::reset
Reset the fence
Updated on 3 April 2021 at 20:21:51 PDT