Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaPlayer.CopyFrameToStereoscopicVideoSurfaces 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.

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

Requirements Description
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


Feedback

Was this page helpful?