Dela via


HolographicCamera.QuadLayers Property

Definition

Gets the mutable list of quad layers to display on top of this camera's primary back buffer.

public:
 property IVector<HolographicQuadLayer ^> ^ QuadLayers { IVector<HolographicQuadLayer ^> ^ get(); };
IVector<HolographicQuadLayer> QuadLayers();
public IList<HolographicQuadLayer> QuadLayers { get; }
var iVector = holographicCamera.quadLayers;
Public ReadOnly Property QuadLayers As IList(Of HolographicQuadLayer)

Property Value

The quad layer list.

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

Quad layers are rendered in the specified order using the painter’s algorithm, entirely on top of the primary layer. No depth-testing is done while rendering. An app that moves one quad in front of another may reorder the quads in this list without having to refill the texture buffers. An app that only wishes to render quad layers, for example during loading scenes, can disable the primary layer entirely by setting IsPrimaryLayerEnabled to false.

If an app no longer needs a quad layer, it may disable that layer by removing it from the camera, which allows the system to reclaim the content buffers allocated for it. If the app knows it is permanently done with a layer, it may close it entirely.

Applies to