CompositeVideoFrameContext Class

Definition

Provides context for performing a custom overlay operation within the CompositeFrame method.

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
Inheritance
Object Platform::Object IInspectable CompositeVideoFrameContext
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

To retrieve an instance of this class, implement the CompositeFrame method.

Properties

BackgroundFrame

Gets the background frame for an overlay operation.

OutputFrame

Gets the output frame for an overlay operation.

SurfacesToOverlay

Gets the list of Direct3D surfaces to be used in an overlay operation.

Methods

GetOverlayForSurface(IDirect3DSurface)

Gets a MediaOverlay object for the provided Direct3D surface.

Applies to