Číst v angličtině

Sdílet prostřednictvím


VideoMediaFrame.Direct3DSurface Property

Definition

Gets an IDirect3DSurface object containing the image data for the VideoMediaFrame.

public IDirect3DSurface Direct3DSurface { get; }

Property Value

An IDirect3DSurface object containing the image data for the VideoMediaFrame.

Remarks

If you initialize a MediaCapture object to use CPU memory for captured frames by setting the MemoryPreference property of the MediaCaptureInitializationSettings to Cpu, the Direct3DSurface property of a received VideoMediaFrame will be null and the SoftwareBitmap property will be non-null and contain the image data from the frame. Setting the memory preference to Auto allows the system to choose the optimal memory location for the current device. If the system chooses to use GPU memory, the SoftwareBitmap property will be null and the Direct3DSurface property will contain the frame's image data..

Applies to

Produkt Verze
WinRT Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100