Dela via


CompositeVideoFrameContext.GetOverlayForSurface(IDirect3DSurface) Method

Definition

Gets a MediaOverlay object for the provided Direct3D surface.

public:
 virtual MediaOverlay ^ GetOverlayForSurface(IDirect3DSurface ^ surfaceToOverlay) = GetOverlayForSurface;
MediaOverlay GetOverlayForSurface(IDirect3DSurface const& surfaceToOverlay);
public MediaOverlay GetOverlayForSurface(IDirect3DSurface surfaceToOverlay);
function getOverlayForSurface(surfaceToOverlay)
Public Function GetOverlayForSurface (surfaceToOverlay As IDirect3DSurface) As MediaOverlay

Parameters

surfaceToOverlay
IDirect3DSurface

The Direct3D surface.

Returns

The created MediaOverlay object.

Applies to