MediaCaptureSettings.Direct3D11Device Property

Definition

Gets an IDirect3DDevice representing the Direct3D device instance being used by the associated MediaCapture object.

public:
 property IDirect3DDevice ^ Direct3D11Device { IDirect3DDevice ^ get(); };
IDirect3DDevice Direct3D11Device();
public IDirect3DDevice Direct3D11Device { get; }
var iDirect3DDevice = mediaCaptureSettings.direct3D11Device;
Public ReadOnly Property Direct3D11Device As IDirect3DDevice

Property Value

An IDirect3DDevice representing the Direct3D device instance being used by the associated MediaCapture object.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

By default, the MediaCapture object will attempt to use the GPU for its computation and use Direct3D surfaces to image data, although this can be disabled with the MemoryPreference property. This property allows an app to access the instance of the Direct3D device used to allocate the surfaces. This is particularly useful when interoperating with other Direct3D-based APIs, such as Win2D.

Applies to