Udostępnij za pośrednictwem


HolographicFramePresentResult Enum

Definition

Indicates the outcome of a Present call on a holographic frame.

public enum class HolographicFramePresentResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
enum class HolographicFramePresentResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public enum HolographicFramePresentResult
var value = Windows.Graphics.Holographic.HolographicFramePresentResult.success
Public Enum HolographicFramePresentResult
Inheritance
HolographicFramePresentResult
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Fields

Name Value Description
Success 0

The frame was presented successfully.

DeviceRemoved 1

The Direct3D 11 device was removed and a new device is required. To investigate the cause of device removed errors, call the ID3D11Device::GetDeviceRemovedReason method before releasing the Direct3D device. Set the new device by calling the HolographicSpace::SetDirect3D11Device method.

Applies to