HolographicCamera.IsPrimaryLayerEnabled Property

Definition

Gets or sets whether this camera should display the primary back buffer filled by the app.

public:
 property bool IsPrimaryLayerEnabled { bool get(); void set(bool value); };
bool IsPrimaryLayerEnabled();

void IsPrimaryLayerEnabled(bool value);
public bool IsPrimaryLayerEnabled { get; set; }
var boolean = holographicCamera.isPrimaryLayerEnabled;
holographicCamera.isPrimaryLayerEnabled = boolean;
Public Property IsPrimaryLayerEnabled As Boolean

Property Value

Boolean

bool

True, if the primary layer should be displayed; otherwise, false.

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

The primary layer displays the pixels that an app renders into the back buffer returned by HolographicCameraRenderingParameters. The primary layer appears behind any quad layers. If an app only intends to render quad layers, for example during a loading screen, it may disable the primary layer. When the primary layer is disabled, any pixels not covered by quad layers will remain black.

Applies to