IMFD3D12SynchronizationObjectCommands::EnqueueResourceReadyWait method (mfd3d12.h)
Queues a wait command on the specified consumer command queue, starting a wait for the resource ready signal from the producer command queue.
HRESULT EnqueueResourceReadyWait( ID3D12CommandQueue *pConsumerCommandQueue );
A pointer to an ID3D12CommandQueue representing the consumer command queue into which the wait should be queued.
An HRESULT including but not limited to the following values:
|MF_E_OPERATION_UNSUPPORTED_AT_D3D_FEATURE_LEVEL||The attempted call or command is not supported with the DirectX version used by the component.|
|o MF_E_UNSUPPORTED_MEDIATYPE_AT_D3D_FEATURE_LEVEL||The specified media type is not supported with the DirectX version used by the component.|
This function allows the consumer to immediately start scheduling commands for its GPU engine. The wait will ensure that the commands scheduled after the wait are not executed until the corresponding ready signal is fired by the producer GPU engine.