|
| virtual xiiUInt64 | GetCompletedValue () override final |
| virtual void | Signal (xiiUInt64 uiValue) override final |
| virtual void | Wait (xiiUInt64 uiValue) override final |
|
XII_ALWAYS_INLINE ID3D12Fence * | GetD3D12Fence () const |
|
XII_ALWAYS_INLINE const xiiGALFenceCreationDescription & | GetDescription () const |
| | This returns the creation description for this object.
|
| void | ValidateFenceSignal (xiiUInt64 uiValue) |
| void | ValidateDeviceWaitForFence (xiiUInt64 uiValue) |
| XII_ALWAYS_INLINE xiiSharedPtr< xiiGALDevice > | GetDevice () const |
|
XII_ALWAYS_INLINE xiiStringView | GetDebugName () const |
| | Returns the debug name of this resource.
|
|
void | SetDebugName (xiiStringView sDebugName) const |
| | Sets the debug name for this resource.
|
|
virtual const xiiRTTI * | GetDynamicRTTI () const |
| bool | IsInstanceOf (const xiiRTTI *pType) const |
| | Returns whether the type of this instance is of the given type or derived from it.
|
|
template<typename T> |
| XII_ALWAYS_INLINE bool | IsInstanceOf () const |
| | Returns whether the type of this instance is of the given type or derived from it.
|
|
virtual | ~xiiRefCounted ()=default |
| | Adds a virtual destructor.
|
|
| xiiRefCountingImpl ()=default |
| | Constructor.
|
|
| xiiRefCountingImpl (const xiiRefCountingImpl &rhs) |
|
void | operator= (const xiiRefCountingImpl &rhs) |
|
xiiUInt32 | AddRef () const |
| | Increments the reference counter. Returns the new reference count.
|
| bool | TryAddRef () const |
|
xiiUInt32 | ReleaseRef () const |
| | Decrements the reference counter. Returns the new reference count.ywat.
|
|
bool | IsReferenced () const |
| | Returns true if the reference count is greater than 0, false otherwise.
|
|
xiiUInt32 | GetRefCount () const |
| | Returns the current reference count.
|
|
|
class | xiiMemoryUtils |
|
class | xiiGALDeviceD3D12 |
|
|
static const xiiRTTI * | GetStaticRTTI () |
◆ GetCompletedValue()
| xiiUInt64 xiiGALFenceD3D12::GetCompletedValue |
( |
| ) |
|
|
finaloverridevirtual |
This returns the last completed value signaled by the GPU.
Implements xiiGALFence.
◆ InitPlatform()
|
|
finaloverrideprotectedvirtual |
◆ SetDebugNamePlatform()
| void xiiGALFenceD3D12::SetDebugNamePlatform |
( |
xiiStringView | sName | ) |
const |
|
finaloverrideprotectedvirtual |
◆ Signal()
| void xiiGALFenceD3D12::Signal |
( |
xiiUInt64 | uiValue | ) |
|
|
finaloverridevirtual |
This sets the fence to the specified value.
- Parameters
-
| uiValue | - The new value the fence should reach. The value must be greater than the current value of the fence. |
- Note
- Fence value will be changed immediately on the CPU. Use device to enqueue a signal command that will change the value on the GPU after all previously submitted commands are complete.
-
The fence must have been created with type General.
Implements xiiGALFence.
◆ Wait()
| void xiiGALFenceD3D12::Wait |
( |
xiiUInt64 | uiValue | ) |
|
|
finaloverridevirtual |
This waits until the fence reaches or exceeds the specified value on the host.
- Parameters
-
| uiValue | - The value that the fence is waiting to reach. |
- Note
- The method blocks the execution of the calling thread until the wait is complete.
Implements xiiGALFence.
The documentation for this class was generated from the following files:
- /home/runner/work/XII/XII/Source/Engine/GraphicsD3D12/Resources/FenceD3D12.h
- /home/runner/work/XII/XII/Source/Engine/GraphicsD3D12/Resources/Implementation/FenceD3D12.cpp