Sdílet prostřednictvím


HolographicQuadLayerUpdateParameters.CanAcquireWithHardwareProtection Property

Definition

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

public:
 property bool CanAcquireWithHardwareProtection { bool get(); };
bool CanAcquireWithHardwareProtection();
public bool CanAcquireWithHardwareProtection { get; }
var boolean = holographicQuadLayerUpdateParameters.canAcquireWithHardwareProtection;
Public ReadOnly Property CanAcquireWithHardwareProtection As Boolean

Property Value

Boolean

bool

Whether hardware content protection is supported.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

To enable hardware content protection for a quad layer's buffer, call AcquireBufferToUpdateContentWithHardwareProtection whenever you acquire new buffers for updates.

To enable hardware content protection for the primary layer's back buffer, set IsHardwareContentProtectionEnabled to true.

Applies to