Megosztás a következőn keresztül:


HolographicSpace.CreateFrameScanoutMonitor(UInt32) Method

Definition

Creates a HolographicFrameScanoutMonitor that allows Windows Mixed Reality applications to monitor detailed performance and timing information about the platform in real time.

public:
 virtual HolographicFrameScanoutMonitor ^ CreateFrameScanoutMonitor(unsigned int maxQueuedReports) = CreateFrameScanoutMonitor;
HolographicFrameScanoutMonitor CreateFrameScanoutMonitor(uint32_t const& maxQueuedReports);
public HolographicFrameScanoutMonitor CreateFrameScanoutMonitor(uint maxQueuedReports);
function createFrameScanoutMonitor(maxQueuedReports)
Public Function CreateFrameScanoutMonitor (maxQueuedReports As UInteger) As HolographicFrameScanoutMonitor

Parameters

maxQueuedReports
UInt32

unsigned int

uint32_t

The maximum number of HolographicFrameScanoutReport objects that will be buffered by the system at any one time.

Returns

The created HolographicFrameScanoutMonitor.

Windows requirements

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

Remarks

The caller is responsible for calling ReadReports method at a high enough frequency to dequeue the reports before this maximum limit is reached. If the limit is reached, the platform will discard reports until the queue is no longer full. It is recommended that ReadReports be called once every frame.

Applies to

See also