HolographicFrameScanoutMonitor 類別

定義

允許Mixed Reality應用程式取得HolographicFrameScanoutReport物件的資料流程。

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
繼承
Object Platform::Object IInspectable HolographicFrameScanoutMonitor
屬性
實作

Windows 需求

裝置系列
Windows 10, version 2004 (已於 10.0.19041.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v10.0 引進)

備註

此類別可讓Windows Mixed Reality應用程式即時監視平臺的詳細效能和計時資訊。 應用程式可以使用這項資訊,根據工作負載成本調整其轉譯或模擬,以確保畫面播放速率上限,同時仍能達到最佳的影像逼真度。 此 API 會取代提供類似功能的 HolographicFramePresentationMonitor

方法

Close()

關閉 HolographicFrameScanoutMonitor 並釋放相關聯的資源。

Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

ReadReports()

傳回 HolographicFrameScanoutReport 物件清單,其中每個報表對應至上次呼叫方法之後發生的全像攝影顯示器的單一掃描。 請注意,每個 全像攝影框架 可能會掃描多次。

適用於

另請參閱