Safe Haskell | None |
---|---|
Language | Haskell2010 |
Name
XR_KHR_android_thread_settings - instance extension
Specification
See XR_KHR_android_thread_settings in the main specification for complete information.
Registered Extension Number
4
Revision
5
Extension and Version Dependencies
- Requires OpenXR 1.0
See Also
AndroidThreadTypeKHR
, setAndroidApplicationThreadKHR
Document Notes
For more information, see the OpenXR Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.
Synopsis
- setAndroidApplicationThreadKHR :: forall io. MonadIO io => Session -> AndroidThreadTypeKHR -> ("threadId" ::: Word32) -> io Result
- newtype AndroidThreadTypeKHR where
- AndroidThreadTypeKHR Int32
- pattern ANDROID_THREAD_TYPE_APPLICATION_MAIN_KHR :: AndroidThreadTypeKHR
- pattern ANDROID_THREAD_TYPE_APPLICATION_WORKER_KHR :: AndroidThreadTypeKHR
- pattern ANDROID_THREAD_TYPE_RENDERER_MAIN_KHR :: AndroidThreadTypeKHR
- pattern ANDROID_THREAD_TYPE_RENDERER_WORKER_KHR :: AndroidThreadTypeKHR
- type KHR_android_thread_settings_SPEC_VERSION = 5
- pattern KHR_android_thread_settings_SPEC_VERSION :: forall a. Integral a => a
- type KHR_ANDROID_THREAD_SETTINGS_EXTENSION_NAME = "XR_KHR_android_thread_settings"
- pattern KHR_ANDROID_THREAD_SETTINGS_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
setAndroidApplicationThreadKHR Source #
:: forall io. MonadIO io | |
=> Session |
|
-> AndroidThreadTypeKHR |
|
-> ("threadId" ::: Word32) |
|
-> io Result |
xrSetAndroidApplicationThreadKHR - declare threads to be of a certain priority type
Parameter Descriptions
Description
setAndroidApplicationThreadKHR
allows to declare an XR-critical thread
and to classify it.
Valid Usage (Implicit)
- The @@
extension must be enabled prior to calling
setAndroidApplicationThreadKHR
-
session
must be a validSession
handle -
threadType
must be a validAndroidThreadTypeKHR
value
Return Codes
See Also
newtype AndroidThreadTypeKHR Source #
XrAndroidThreadTypeKHR - Enum describing Android thread types
Enumerants
See Also
pattern ANDROID_THREAD_TYPE_APPLICATION_MAIN_KHR :: AndroidThreadTypeKHR |
|
pattern ANDROID_THREAD_TYPE_APPLICATION_WORKER_KHR :: AndroidThreadTypeKHR |
|
pattern ANDROID_THREAD_TYPE_RENDERER_MAIN_KHR :: AndroidThreadTypeKHR |
|
pattern ANDROID_THREAD_TYPE_RENDERER_WORKER_KHR :: AndroidThreadTypeKHR |
|
Instances
pattern KHR_android_thread_settings_SPEC_VERSION :: forall a. Integral a => a Source #
type KHR_ANDROID_THREAD_SETTINGS_EXTENSION_NAME = "XR_KHR_android_thread_settings" Source #
pattern KHR_ANDROID_THREAD_SETTINGS_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #