Package org.lwjgl.openxr
Class KHROpenGLESEnable
- java.lang.Object
-
- org.lwjgl.openxr.KHROpenGLESEnable
-
public class KHROpenGLESEnable extends java.lang.ObjectThe KHR_opengl_es_enable extension.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringXR_KHR_OPENGL_ES_ENABLE_EXTENSION_NAMEThe extension name.static intXR_KHR_opengl_es_enable_SPEC_VERSIONThe extension specification version.static intXR_TYPE_GRAPHICS_BINDING_OPENGL_ES_ANDROID_KHR
XR_TYPE_GRAPHICS_REQUIREMENTS_OPENGL_ES_KHR
XR_TYPE_SWAPCHAIN_IMAGE_OPENGL_ES_KHRExtendsXrStructureType.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intnxrGetOpenGLESGraphicsRequirementsKHR(org.lwjgl.openxr.XrInstance instance, long systemId, long graphicsRequirements)Unsafe version of:GetOpenGLESGraphicsRequirementsKHRstatic intxrGetOpenGLESGraphicsRequirementsKHR(org.lwjgl.openxr.XrInstance instance, long systemId, XrGraphicsRequirementsOpenGLESKHR graphicsRequirements)Retrieve the OpenGL ES version requirements for an instance and system.
-
-
-
Field Detail
-
XR_KHR_opengl_es_enable_SPEC_VERSION
The extension specification version.
-
XR_KHR_OPENGL_ES_ENABLE_EXTENSION_NAME
The extension name.
-
-
Method Detail
-
nxrGetOpenGLESGraphicsRequirementsKHR
public static int nxrGetOpenGLESGraphicsRequirementsKHR(org.lwjgl.openxr.XrInstance instance, long systemId, long graphicsRequirements)Unsafe version of:GetOpenGLESGraphicsRequirementsKHR
-
xrGetOpenGLESGraphicsRequirementsKHR
public static int xrGetOpenGLESGraphicsRequirementsKHR(org.lwjgl.openxr.XrInstance instance, long systemId, XrGraphicsRequirementsOpenGLESKHR graphicsRequirements)Retrieve the OpenGL ES version requirements for an instance and system.C Specification
To query OpenGL ES API version requirements for an instance and system, call:
XrResult xrGetOpenGLESGraphicsRequirementsKHR( XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsOpenGLESKHR* graphicsRequirements);Description
The
GetOpenGLESGraphicsRequirementsKHRfunction identifies to the application the minimum OpenGL ES version requirement and the highest known tested OpenGL ES version. The runtime must returnERROR_GRAPHICS_REQUIREMENTS_CALL_MISSING(ERROR_VALIDATION_FAILUREmay be returned due to legacy behavior) on calls toCreateSessionifGetOpenGLESGraphicsRequirementsKHRhas not been called for the sameinstanceandsystemId.Valid Usage (Implicit)
- The
XR_KHR_opengl_es_enableextension must be enabled prior to callingGetOpenGLESGraphicsRequirementsKHR instancemust be a validXrInstancehandlegraphicsRequirementsmust be a pointer to anXrGraphicsRequirementsOpenGLESKHRstructure
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
instance- anXrInstancehandle previously created withCreateInstance.systemId- anXrSystemIdhandle for the system which will be used to create a session.graphicsRequirements- theXrGraphicsRequirementsOpenGLESKHRoutput structure.
- The
-
-