Skip to main content

XGameRuntimeIsFeatureAvailable

Indicates whether a Gaming Runtime feature is available.

Syntax

Parameters

feature   
Type: XGameRuntimeFeature
The Gaming Runtime feature to query.

Return value

Type: bool Returns true if the Gaming Runtime feature is available; false otherwise.

Remarks

After the Gaming Runtime is initialized with XGameRuntimeInitialize, use this function to check whether specific Gaming Runtime features are available to your game. The following example uses the XGameRuntimeIsFeatureAvailable function to check whether the Async, AsyncProvider, and TaskQueue features are available. All three features are necessary for using task queues to run asynchronous tasks.

Requirements

Header: XGameRuntimeFeature.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

Conceptual documentation

See also

Gaming Runtime Glossary
XGameRuntimeFeature class
XGameRuntimeFeature enum
Last modified on August 20, 2026