HolographicQuadLayerUpdateParameters HolographicQuadLayerUpdateParameters HolographicQuadLayerUpdateParameters HolographicQuadLayerUpdateParameters HolographicQuadLayerUpdateParameters Class

Definition

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

public : sealed class HolographicQuadLayerUpdateParameters : IHolographicQuadLayerUpdateParameters, IHolographicQuadLayerUpdateParameters2
struct winrt::Windows::Graphics::Holographic::HolographicQuadLayerUpdateParameters : IHolographicQuadLayerUpdateParameters, IHolographicQuadLayerUpdateParameters2
public sealed class HolographicQuadLayerUpdateParameters : IHolographicQuadLayerUpdateParameters, IHolographicQuadLayerUpdateParameters2
Public NotInheritable Class HolographicQuadLayerUpdateParameters Implements IHolographicQuadLayerUpdateParameters, IHolographicQuadLayerUpdateParameters2
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

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 a 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.

Properties

CanAcquireWithHardwareProtection CanAcquireWithHardwareProtection CanAcquireWithHardwareProtection CanAcquireWithHardwareProtection CanAcquireWithHardwareProtection

Gets whether hardware content protection is supported for this quad layer.

Methods

AcquireBufferToUpdateContent() AcquireBufferToUpdateContent() AcquireBufferToUpdateContent() AcquireBufferToUpdateContent() AcquireBufferToUpdateContent()

Gets a Direct3D 11 back buffer whose contents will be displayed for this quad layer from this frame forward.

AcquireBufferToUpdateContentWithHardwareProtection() AcquireBufferToUpdateContentWithHardwareProtection() AcquireBufferToUpdateContentWithHardwareProtection() AcquireBufferToUpdateContentWithHardwareProtection() AcquireBufferToUpdateContentWithHardwareProtection()

Gets a hardware-protected Direct3D 11 back buffer whose contents will be displayed for this quad layer from this frame forward.

UpdateContentProtectionEnabled(Boolean) UpdateContentProtectionEnabled(Boolean) UpdateContentProtectionEnabled(Boolean) UpdateContentProtectionEnabled(Boolean) UpdateContentProtectionEnabled(Boolean)

Updates whether this quad layer contains protected content.

UpdateExtents(Vector2) UpdateExtents(Vector2) UpdateExtents(Vector2) UpdateExtents(Vector2) UpdateExtents(Vector2)

Updates the extents of this quad layer in world coordinates.

UpdateLocationWithDisplayRelativeMode(Vector3, Quaternion) UpdateLocationWithDisplayRelativeMode(Vector3, Quaternion) UpdateLocationWithDisplayRelativeMode(Vector3, Quaternion) UpdateLocationWithDisplayRelativeMode(Vector3, Quaternion) UpdateLocationWithDisplayRelativeMode(Vector3, Quaternion)

Updates the center location of this quad layer relative to the center of the displays, setting it to remain at that display-relative location in future frames.

UpdateLocationWithStationaryMode(SpatialCoordinateSystem, Vector3, Quaternion) UpdateLocationWithStationaryMode(SpatialCoordinateSystem, Vector3, Quaternion) UpdateLocationWithStationaryMode(SpatialCoordinateSystem, Vector3, Quaternion) UpdateLocationWithStationaryMode(SpatialCoordinateSystem, Vector3, Quaternion) UpdateLocationWithStationaryMode(SpatialCoordinateSystem, Vector3, Quaternion)

Updates the center location of this quad layer in the world, setting it to remain at that world location in future frames.

UpdateViewport(Rect) UpdateViewport(Rect) UpdateViewport(Rect) UpdateViewport(Rect) UpdateViewport(Rect)

Updates the viewport rectangle within the quad layer's texture that will be displayed to the screen.