GFXFence
Public Types
enum
FenceStatus { Unset Pending Processed Unsupported }
The states returned by getStatus()
Public Functions
Detailed Description
Public Types
FenceStatus
Enumerator
- Unset
The fence has not been set.
- Pending
The fence has been set and has not been hit.
- Processed
The fence has been processed.
- Unsupported
A non-blocking query of fence status is not supported by the implementation.
The states returned by getStatus()
Protected Attributes
GFXDevice * mDevice
Public Functions
GFXFence(GFXDevice * device)
~GFXFence()
block()
This method will not return until the fence has been processed by the GPU.
Reimplemented by: GFXD3D11QueryFence, GFXGeneralFence, GFXGLAppleFence
getStatus()
This is a non-blocking call to get the status of the fence.
Reimplemented by: GFXD3D11QueryFence, GFXGeneralFence, GFXGLAppleFence
issue()
This method inserts the fence into the command buffer.
Reimplemented by: GFXD3D11QueryFence, GFXGeneralFence, GFXGLAppleFence