MediaCaptureMemoryPreference MediaCaptureMemoryPreference MediaCaptureMemoryPreference MediaCaptureMemoryPreference MediaCaptureMemoryPreference Enum

Definition

Specifies the preferred memory location for captured video frames.

public : enum class MediaCaptureMemoryPreference
enum class winrt::Windows::Media::Capture::MediaCaptureMemoryPreference : int32_t
public enum MediaCaptureMemoryPreference
Public Enum MediaCaptureMemoryPreference
var value = Windows.Media.Capture.MediaCaptureMemoryPreference.auto;
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
backgroundMediaRecording

Fields

Auto Auto Auto Auto Auto 0

The system dynamically chooses between CPU and GPU memory.

Cpu Cpu Cpu Cpu Cpu 1

CPU memory is used.

Remarks

Specify a memory preference by setting the MemoryPreference property of the MediaCaptureInitializationSettings object before calling MediaCapture.InitializeAsync.