IHolographicQuadLayerInterop::UnacquireDirect3D12BufferResource method (windows.graphics.holographic.interop.h)

The UnacquireDirect3D12BufferResource method relinquishes control of a Direct3D 12 buffer resource to the platform.

A resource that has been acquired, but not submitted, can be un-acquired to return control of the buffer back to the platform. A resource that has been un-acquired can be re-acquired at a later time.

Syntax

HRESULT UnacquireDirect3D12BufferResource(
  ID3D12Resource *pResourceToUnacquire
);

Parameters

pResourceToUnacquire

Type: ID3D12Resource*

The Direct3D 12 resource to relinquish control of.

Return value

S_OK if successful, otherwise returns an HRESULT error code indicating the reason for failure. Also see COM Error Codes (UI, Audio, DirectX, Codec).

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Header windows.graphics.holographic.interop.h