| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
OpenXR.Extensions.XR_KHR_android_create_instance
Description
Name
XR_KHR_android_create_instance - instance extension
Specification
See XR_KHR_android_create_instance in the main specification for complete information.
Registered Extension Number
9
Revision
3
Extension and Version Dependencies
- Requires OpenXR 1.0
See Also
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
- data InstanceCreateInfoAndroidKHR = InstanceCreateInfoAndroidKHR {
- applicationVM :: Ptr ()
- applicationActivity :: Ptr ()
- type KHR_android_create_instance_SPEC_VERSION = 3
- pattern KHR_android_create_instance_SPEC_VERSION :: forall a. Integral a => a
- type KHR_ANDROID_CREATE_INSTANCE_EXTENSION_NAME = "XR_KHR_android_create_instance"
- pattern KHR_ANDROID_CREATE_INSTANCE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data InstanceCreateInfoAndroidKHR Source #
XrInstanceCreateInfoAndroidKHR - Creates an OpenXR Instance
Member Descriptions
Description
InstanceCreateInfoAndroidKHR contains additional Android specific
information needed when calling createInstance.
The applicationVM field should be populated with the JavaVM
structure received by the JNI_OnLoad function, while the
applicationActivity field will typically contain a reference to a Java
activity object received through an application-specific native method.
The InstanceCreateInfoAndroidKHR structure must be provided in the
next chain of the InstanceCreateInfo
structure when calling createInstance.
Valid Usage (Implicit)
- The @@
extension must be enabled prior to using
InstanceCreateInfoAndroidKHR
-
typemust beTYPE_INSTANCE_CREATE_INFO_ANDROID_KHR -
nextmust beNULLor a valid pointer to the next structure in a structure chain -
applicationVMmust be a pointer value -
applicationActivitymust be a pointer value
See Also
Constructors
| InstanceCreateInfoAndroidKHR | |
Fields
| |
Instances
pattern KHR_android_create_instance_SPEC_VERSION :: forall a. Integral a => a Source #
type KHR_ANDROID_CREATE_INSTANCE_EXTENSION_NAME = "XR_KHR_android_create_instance" Source #
pattern KHR_ANDROID_CREATE_INSTANCE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #