XGameRuntimeIsFeatureAvailable
Indicates whether a Gaming Runtime feature is available.Syntax
Parameters
featureType: 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 consolesConceptual documentation
See also
Gaming Runtime GlossaryXGameRuntimeFeature class
XGameRuntimeFeature enum
