CompositeVideoFrameContext.GetOverlayForSurface(IDirect3DSurface) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.