Package org.lwjgl.openxr
Class FBSwapchainUpdateState
java.lang.Object
org.lwjgl.openxr.FBSwapchainUpdateState
The XR_FB_swapchain_update_state extension.
This extension enables the application to modify and query specific mutable state associated with a swapchain.
In order to enable the functionality of this extension, the application must pass the name of the extension into CreateInstance via the XrInstanceCreateInfo::enabledExtensionNames parameter as indicated in the extension section.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnxrGetSwapchainStateFB(XrSwapchain swapchain, long state) Unsafe version of:GetSwapchainStateFBstatic intnxrUpdateSwapchainFB(XrSwapchain swapchain, long state) Unsafe version of:UpdateSwapchainFBstatic intxrGetSwapchainStateFB(XrSwapchain swapchain, XrSwapchainStateBaseHeaderFB state) Query state for the corresponding swapchain.static intxrUpdateSwapchainFB(XrSwapchain swapchain, XrSwapchainStateBaseHeaderFB state) Updates state for the corresponding swapchain.
-
Field Details
-
XR_FB_swapchain_update_state_SPEC_VERSION
public static final int XR_FB_swapchain_update_state_SPEC_VERSIONThe extension specification version.- See Also:
-
XR_FB_SWAPCHAIN_UPDATE_STATE_EXTENSION_NAME
The extension name.- See Also:
-
-
Method Details
-
nxrUpdateSwapchainFB
Unsafe version of:UpdateSwapchainFB -
xrUpdateSwapchainFB
Updates state for the corresponding swapchain.C Specification
The
UpdateSwapchainFBfunction is defined as:XrResult xrUpdateSwapchainFB( XrSwapchain swapchain, const XrSwapchainStateBaseHeaderFB* state);Description
UpdateSwapchainFBprovides support for an application to update specific mutable state associated with anXrSwapchain.Valid Usage (Implicit)
- The
XR_FB_swapchain_update_stateextension must be enabled prior to callingUpdateSwapchainFB swapchainmust be a validXrSwapchainhandlestatemust be a pointer to a validXrSwapchainStateBaseHeaderFB-based structure. See also:XrSwapchainStateFoveationFB,XrSwapchainStateSamplerOpenGLESFB,XrSwapchainStateSamplerVulkanFB
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
- Parameters:
swapchain- theXrSwapchainto update state for.state- a pointer to aXrSwapchainStatestructure based off ofXrSwapchainStateBaseHeaderFB.
- The
-
nxrGetSwapchainStateFB
Unsafe version of:GetSwapchainStateFB -
xrGetSwapchainStateFB
Query state for the corresponding swapchain.C Specification
The
GetSwapchainStateFBfunction is defined as:XrResult xrGetSwapchainStateFB( XrSwapchain swapchain, XrSwapchainStateBaseHeaderFB* state);Description
GetSwapchainStateFBprovides support for an application to query specific mutable state associated with anXrSwapchain.Valid Usage (Implicit)
- The
XR_FB_swapchain_update_stateextension must be enabled prior to callingGetSwapchainStateFB swapchainmust be a validXrSwapchainhandlestatemust be a pointer to anXrSwapchainStateBaseHeaderFB-based structure. See also:XrSwapchainStateFoveationFB,XrSwapchainStateSamplerOpenGLESFB,XrSwapchainStateSamplerVulkanFB
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
XrSwapchainStateBaseHeaderFB,CreateSwapchain,UpdateSwapchainFB- Parameters:
swapchain- theXrSwapchainto update state for.state- a pointer to aXrSwapchainStatestructure based off ofXrSwapchainStateBaseHeaderFB.
- The
-