Delen via


VideoFrame.Direct3DSurface Property

Definition

Gets the IDirect3DSurface object containing the pixel data of the video frame, when one is present.

public:
 property IDirect3DSurface ^ Direct3DSurface { IDirect3DSurface ^ get(); };
IDirect3DSurface Direct3DSurface();
public IDirect3DSurface Direct3DSurface { get; }
var iDirect3DSurface = videoFrame.direct3DSurface;
Public ReadOnly Property Direct3DSurface As IDirect3DSurface

Property Value

The IDirect3DSurface object containing the pixel data of the video frame.

Remarks

The pixel data of a VideoFrame can be stored either in a IDirect3DSurface or a SoftwareBitmap. This property will be null if the data for the frame is not stored in a IDirect3DSurface. If the data is stored in a software bitmap, you can access it using the SoftwareBitmap property of the VideoFrame.

Applies to