MediaPlayer.CopyFrameToStereoscopicVideoSurfaces Method

Definition

Copies the video frame currently displayed by the MediaPlayer to the two provided IDirect3DSurface objects which represent the left eye and right eye content of a stereoscopic video frame.

public:
 virtual void CopyFrameToStereoscopicVideoSurfaces(IDirect3DSurface ^ destinationLeftEye, IDirect3DSurface ^ destinationRightEye) = CopyFrameToStereoscopicVideoSurfaces;
void CopyFrameToStereoscopicVideoSurfaces(IDirect3DSurface const& destinationLeftEye, IDirect3DSurface const& destinationRightEye);
public void CopyFrameToStereoscopicVideoSurfaces(IDirect3DSurface destinationLeftEye, IDirect3DSurface destinationRightEye);
function copyFrameToStereoscopicVideoSurfaces(destinationLeftEye, destinationRightEye)
Public Sub CopyFrameToStereoscopicVideoSurfaces (destinationLeftEye As IDirect3DSurface, destinationRightEye As IDirect3DSurface)

Parameters

destinationLeftEye
IDirect3DSurface

The surface to which the left eye content is copied.

destinationRightEye
IDirect3DSurface

The surface to which the right eye content is copied.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

For information on using CopyFrameToVideoSurface to apply GPU effects to video frames, see the Use MediaPlayer in frame server mode section of Play audio and video with MediaPlayer.

Applies to

See also