MediaPlayer.CopyFrameToStereoscopicVideoSurfaces 方法

定義

MediaPlayer 目前顯示的視訊框架複製到兩個提供的 IDirect3DSurface 物件,這些物件代表立體視訊框架的左眼和右眼內容。

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)

參數

destinationLeftEye
IDirect3DSurface

複製左眼內容的表面。

destinationRightEye
IDirect3DSurface

將右眼內容複寫到其中的表面。

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

備註

如需使用 CopyFrameToVideoSurface 將 GPU 效果套用至視訊畫面的詳細資訊,請參閱使用 MediaPlayer 在畫面伺服器模式中使用 MediaPlayer搭配 MediaPlayer 播放音訊和視訊一節。

適用於

另請參閱