openxr-0.1: Bindings to the OpenXR API
Safe HaskellNone
LanguageHaskell2010

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

InstanceCreateInfoAndroidKHR

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

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)

See Also

StructureType, createInstance, destroyInstance

Constructors

InstanceCreateInfoAndroidKHR 

Fields

  • applicationVM :: Ptr ()

    applicationVM is a pointer to the JNI’s opaque JavaVM structure, cast to a void pointer.

  • applicationActivity :: Ptr ()

    applicationActivity is a JNI reference to an android.app.Activity that will drive the session lifecycle of this instance, cast to a void pointer.

Instances

Instances details
Show InstanceCreateInfoAndroidKHR Source # 
Instance details

Defined in OpenXR.Extensions.XR_KHR_android_create_instance

Storable InstanceCreateInfoAndroidKHR Source # 
Instance details

Defined in OpenXR.Extensions.XR_KHR_android_create_instance

Zero InstanceCreateInfoAndroidKHR Source # 
Instance details

Defined in OpenXR.Extensions.XR_KHR_android_create_instance

ToCStruct InstanceCreateInfoAndroidKHR Source # 
Instance details

Defined in OpenXR.Extensions.XR_KHR_android_create_instance

FromCStruct InstanceCreateInfoAndroidKHR Source # 
Instance details

Defined in OpenXR.Extensions.XR_KHR_android_create_instance

type KHR_ANDROID_CREATE_INSTANCE_EXTENSION_NAME = "XR_KHR_android_create_instance" Source #