Wraps the [url=https://registry.khronos.org/OpenXR/specs/1.1/html/xrspec.html#XR_KHR_android_thread_settings]XR_KHR_android_thread_settings[/url] extension. For XR to be comfortable, it is important for applications to deliver frames quickly and consistently. In order to make sure the important application threads get their full share of time, these threads must be identified to the system, which will adjust their scheduling priority accordingly. Sets the thread type of the given thread, so that the XR runtime can adjust its scheduling priority accordingly. [param thread_id] refers to the OS thread id (ie from [code]gettid()[/code]). When [param thread_id] is [code]0[/code], it will set the thread type of the current thread. [b]NOTE:[/b] The id returned by [method Thread.get_id] is incompatible with [param thread_id]. Hints to the XR runtime that the thread is doing time critical CPU tasks. Hints to the XR runtime that the thread is doing background CPU tasks. Hints to the XR runtime that the thread is doing time critical graphics device tasks. Hints to the XR runtime that the thread is doing background graphics device tasks.