CompositionDebugHeatMaps 类

定义

表示显示合成 UI 透支区域的热度地图。

public ref class CompositionDebugHeatMaps sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CompositionDebugHeatMaps final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CompositionDebugHeatMaps final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CompositionDebugHeatMaps
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CompositionDebugHeatMaps
Public NotInheritable Class CompositionDebugHeatMaps
继承
Object Platform::Object IInspectable CompositionDebugHeatMaps
属性

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

方法

Hide(Visual)

隐藏指定子树的热度地图。

ShowMemoryUsage(Visual)

显示应用使用的 GPU 内存的图形表示形式。

ShowOverdraw(Visual, CompositionDebugOverdrawContentKinds)

同时突出显示受多个视觉对象影响的像素。

ShowRedraw(Visual)

突出显示生成更新的应用 UI 区域。

适用于