Share via


CompositeVideoFrameContext 类

定义

提供用于在 CompositeFrame 方法中执行自定义覆盖操作的上下文。

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

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

若要检索此类的实例,请实现 CompositeFrame 方法。

属性

BackgroundFrame

获取覆盖操作的背景帧。

OutputFrame

获取覆盖操作的输出帧。

SurfacesToOverlay

获取要用于覆盖操作的 Direct3D 表面的列表。

方法

GetOverlayForSurface(IDirect3DSurface)

获取提供的 Direct3D 图面的 MediaOverlay 对象。

适用于