Dela via


HolographicFrame.GetQuadLayerUpdateParameters(HolographicQuadLayer) Method

Definition

Gets an update payload that lets an application configure a specific quad layer's parameters from this frame forward.

public:
 virtual HolographicQuadLayerUpdateParameters ^ GetQuadLayerUpdateParameters(HolographicQuadLayer ^ layer) = GetQuadLayerUpdateParameters;
HolographicQuadLayerUpdateParameters GetQuadLayerUpdateParameters(HolographicQuadLayer const& layer);
public HolographicQuadLayerUpdateParameters GetQuadLayerUpdateParameters(HolographicQuadLayer layer);
function getQuadLayerUpdateParameters(layer)
Public Function GetQuadLayerUpdateParameters (layer As HolographicQuadLayer) As HolographicQuadLayerUpdateParameters

Parameters

layer
HolographicQuadLayer

The quad layer to update.

Returns

The update parameters.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

To display quad layers, an application creates the necessary HolographicQuadLayer instances and adds them to a HolographicCamera's mutable QuadLayers list. To synchronize a retained quad layer update with a given immediate-mode holographic frame, an application requests an HolographicQuadLayerUpdateParameters instance from that frame by calling HolographicFrame.GetQuadLayerUpdateParameters. Any updates requested on that HolographicQuadLayerUpdateParameters instance will apply starting in that frame.

Note

The AcquireBufferToUpdateContent or AcquireBufferToUpdateContentWithHardwareProtection method must be called when updating a HolographicQuadLayer object for the first time.

Applies to