IMFD3D12SynchronizationObjectCommands::EnqueueResourceRelease method (mfd3d12.h)
Queues a fence into the specified command queue that will signal to the synchronization object when GPU is finished processing the consumer commands. This method signals when the resource is no longer in use and has been released by the consumer.
Syntax
HRESULT EnqueueResourceRelease(
ID3D12CommandQueue *pConsumerCommandQueue
);
Parameters
pConsumerCommandQueue
A pointer to an ID3D12CommandQueue representing the consumer command queue onto which the fence should be queued.
Return value
Value | Description |
---|---|
S_OK | Success |
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. |
Requirements
Requirement | Value |
---|---|
Header | mfd3d12.h |