Monado OpenXR Runtime
Loading...
Searching...
No Matches
xrt::auxiliary::d3d::winrt::SystemApiCapability Struct Reference

Describes the supported Windows API features for direct mode. More...

#include <d3d/d3d_winrt_helpers.hpp>

Collaboration diagram for xrt::auxiliary::d3d::winrt::SystemApiCapability:

Public Member Functions

void populate ()
 Populate the fields based on the system we are running on.
 

Data Fields

bool supportsBasicDirectMode {}
 Supports the minimum WinRT API contract (7.0) for direct mode.
 
bool supportsScanoutOptionsAndTryExecuteTask {}
 Supports the WinRT API contract (14.0) for the improved direct mode that debuted in Windows 11.
 

Detailed Description

Describes the supported Windows API features for direct mode.

Member Function Documentation

◆ populate()

void xrt::auxiliary::d3d::winrt::SystemApiCapability::populate ( )

Populate the fields based on the system we are running on.

References supportsBasicDirectMode, and supportsScanoutOptionsAndTryExecuteTask.

Field Documentation

◆ supportsBasicDirectMode

bool xrt::auxiliary::d3d::winrt::SystemApiCapability::supportsBasicDirectMode {}

Supports the minimum WinRT API contract (7.0) for direct mode.

Referenced by populate().

◆ supportsScanoutOptionsAndTryExecuteTask

bool xrt::auxiliary::d3d::winrt::SystemApiCapability::supportsScanoutOptionsAndTryExecuteTask {}

Supports the WinRT API contract (14.0) for the improved direct mode that debuted in Windows 11.

Referenced by xrt::auxiliary::d3d::winrt::createScanout(), and populate().


The documentation for this struct was generated from the following files: