Dela via


HolographicFrameScanoutMonitor Class

Definition

Allows Mixed Reality applications to obtain a stream of HolographicFrameScanoutReport objects.

public ref class HolographicFrameScanoutMonitor sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HolographicFrameScanoutMonitor final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HolographicFrameScanoutMonitor : System.IDisposable
Public NotInheritable Class HolographicFrameScanoutMonitor
Implements IDisposable
Inheritance
Object Platform::Object IInspectable HolographicFrameScanoutMonitor
Attributes
Implements

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

This class allows Windows Mixed Reality applications to monitor detailed performance and timing information about the platform in real time. This information can be used by applications to adapt their rendering or simulation based on workload cost to ensure maximum frame rate while still achieving the best image fidelity possible. This API replaces HolographicFramePresentationMonitor which offered similar functionality.

Methods

Close()

Closes the HolographicFrameScanoutMonitor and releases associated resources.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ReadReports()

Returns a list of HolographicFrameScanoutReport objects where each report corresponds to a single scanout to the holographic display which has occurred since the last time the method was called. Note that each HolographicFrame may be scanned out multiple times.

Applies to

See also