Skip to content

Latest commit

 

History

History
70 lines (55 loc) · 3.52 KB

nf-windows-graphics-holographic-interop-iholographiccamerarenderingparametersinterop-commitdirect3d12resource.md

File metadata and controls

70 lines (55 loc) · 3.52 KB
UID title description tech.root ms.date targetos req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NF:windows.graphics.holographic.interop.IHolographicCameraRenderingParametersInterop.CommitDirect3D12Resource
IHolographicCameraRenderingParametersInterop::CommitDirect3D12Resource
The IHolographicCameraRenderingParametersInterop::CommitDirect3D12Resource function commits a Direct3D 12 buffer for presentation on HolographicCamera outputs.
direct3d12
08/03/2022
Windows
function
windows.graphics.holographic.interop.h
Windows 10, version 2004 (10.0; Build 19041)
Windows Server, version 2004 (10.0; Build 19041)
apiref
COM
windows.graphics.holographic.interop.h
IHolographicCameraRenderingParametersInterop::CommitDirect3D12Resource
IHolographicCameraRenderingParametersInterop::CommitDirect3D12Resource
windows.graphics.holographic.interop/IHolographicCameraRenderingParametersInterop::CommitDirect3D12Resource
c++

-description

The CommitDirect3D12Resource method commits a Direct3D 12 buffer for presentation on outputs associated with a HolographicCamera during a specific HolographicFrame. The buffer must have been created by calling CreateDirect3D12BackBufferResource or CreateDirect3D12HardwareProtectedBackBufferResource on the same HolographicCamera corresponding to this rendering parameters object, and the buffer must have been acquired by your application prior to rendering.

-parameters

-param pColorResourceToCommit

Type: ID3D12Resource*

The Direct3D 12 texture resource with content to display when presenting the HolographicFrame used to retrieve this rendering parameters object.

-param pColorResourceFence

Type: ID3D12Fence*

A fence used to signal app work completion on the color buffer resource indicated by pColorResourceToCommit. Completion of this fence at the value indicated by colorResourceFenceSignalValue signals transfer of control of the color resource from your application to the platform in the GPU work queue. The platform relies upon this fence, and the value indicated in colorResourceFenceSignalValue, to queue work on the GPU that reads from the color buffer.

-param colorResourceFenceSignalValue

Type: UINT64

The value used to signal work completion on pColorResourceFence. The platform relies upon this fence value to queue work on the GPU that reads from the color buffer.

-returns

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

-see-also