IHolographicQuadLayerUpdateParametersInterop interface (windows.graphics.holographic.interop.h)

The IHolographicQuadLayerUpdateParametersInterop interface is a nano-COM interface, used to commit Direct3D 12 buffer resources for quad layer rendering in the corresponding HolographicFrame.

The interface allows COM interop with the HolographicQuadLayerUpdateParameters class for applications that use Direct3D 12 for holographic rendering. Nano-COM allows Direct3D 12 objects to be used directly as parameters for API calls, rather than going through a container object.

Inheritance

The IHolographicQuadLayerUpdateParametersInterop interface inherits from the IInspectable interface.

Methods

The IHolographicQuadLayerUpdateParametersInterop interface has these methods.

 
IHolographicQuadLayerUpdateParametersInterop::CommitDirect3D12Resource

Commits a Direct3D 12 buffer for presentation on outputs associated with any HolographicCamera to which the quad layer is attached.

Remarks

To use this interface in C++/WinRT, retrieve the HolographicQuadLayerUpdateParameters object from the HolographicFrame, and then QueryInterface for the IHolographicQuadLayerUpdateParametersInterop interface.

auto quadLayerParameters{ holographicFrame.GetQuadLayerUpdateParameters(m_quadLayer) };
winrt::com_ptr<IHolographicQuadLayerUpdateParametersInterop> quadLayerParametersInterop{
    quadLayerParameters.as<IHolographicQuadLayerUpdateParametersInterop>() };

To use this interface in C++/CX, first cast the HolographicQuadLayerUpdateParameters object (after retrieving it from the HolographicFrame) to IInspectable*. Then QueryInterface for the IHolographicQuadLayerUpdateParametersInterop interface from the IInspectable pointer.

auto quadLayerParameters = holographicFrame->GetQuadLayerUpdateParameters(m_quadLayer);
Microsoft::WRL::ComPtr<IHolographicQuadLayerUpdateParametersInterop> quadLayerParametersInterop;
{
    Microsoft::WRL::ComPtr<IInspectable> iInspectable = reinterpret_cast<IInspectable*>(quadLayerParameters);
    DX::ThrowIfFailed(iInspectable.As(&quadLayerParamsInterop));
}

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