Top Description Fields Constructors Methods
org.lwjgl.openxr

public Class FBSwapchainUpdateState

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

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 extensions section.

Field Summary

Modifier and TypeField and Description
public static final String
public static final int
XR_FB_swapchain_update_state_SPEC_VERSION

The extension specification version.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nxrGetSwapchainStateFB(XrSwapchain swapchain, long state)

Unsafe version of: GetSwapchainStateFB

public static int
nxrUpdateSwapchainFB(XrSwapchain swapchain, long state)

Unsafe version of: UpdateSwapchainFB

public static int
xrGetSwapchainStateFB(XrSwapchain
the XrSwapchain to update state for.
swapchain
,
XrSwapchainStateBaseHeaderFB
a pointer to a XrSwapchainState structure based off of XrSwapchainStateBaseHeaderFB.
state
)

Query state for the corresponding swapchain.

public static int
xrUpdateSwapchainFB(XrSwapchain
the XrSwapchain to update state for.
swapchain
,
XrSwapchainStateBaseHeaderFB
a pointer to a XrSwapchainState structure based off of XrSwapchainStateBaseHeaderFB.
state
)

Updates state for the corresponding swapchain.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

XR_FB_SWAPCHAIN_UPDATE_STATE_EXTENSION_NAMEback to summary
public static final String XR_FB_SWAPCHAIN_UPDATE_STATE_EXTENSION_NAME

The extension name.

XR_FB_swapchain_update_state_SPEC_VERSIONback to summary
public static final int XR_FB_swapchain_update_state_SPEC_VERSION

The extension specification version.

Constructor Detail

FBSwapchainUpdateStateback to summary
protected FBSwapchainUpdateState()

Method Detail

nxrGetSwapchainStateFBback to summary
public static int nxrGetSwapchainStateFB(XrSwapchain swapchain, long state)

Unsafe version of: GetSwapchainStateFB

nxrUpdateSwapchainFBback to summary
public static int nxrUpdateSwapchainFB(XrSwapchain swapchain, long state)

Unsafe version of: UpdateSwapchainFB

xrGetSwapchainStateFBback to summary
public static int xrGetSwapchainStateFB(XrSwapchain swapchain, XrSwapchainStateBaseHeaderFB state)

Query state for the corresponding swapchain.

C Specification

The GetSwapchainStateFB function is defined as:


XrResult xrGetSwapchainStateFB(
    XrSwapchain                                 swapchain,
    XrSwapchainStateBaseHeaderFB*               state);
Description

GetSwapchainStateFB provides support for an application to query specific mutable state associated with an XrSwapchain.

Valid Usage (Implicit)
Return Codes
On success, this command returns
On failure, this command returns
See Also

XrSwapchainStateBaseHeaderFB, CreateSwapchain, UpdateSwapchainFB

Parameters
swapchain:XrSwapchain

the XrSwapchain to update state for.

state:XrSwapchainStateBaseHeaderFB

a pointer to a XrSwapchainState structure based off of XrSwapchainStateBaseHeaderFB.

Annotations
@NativeType:XrResult
xrUpdateSwapchainFBback to summary
public static int xrUpdateSwapchainFB(XrSwapchain swapchain, XrSwapchainStateBaseHeaderFB state)

Updates state for the corresponding swapchain.

C Specification

The UpdateSwapchainFB function is defined as:


XrResult xrUpdateSwapchainFB(
    XrSwapchain                                 swapchain,
    const XrSwapchainStateBaseHeaderFB*         state);
Description

UpdateSwapchainFB provides support for an application to update specific mutable state associated with an XrSwapchain.

Valid Usage (Implicit)
Return Codes
On success, this command returns
On failure, this command returns
See Also

XrSwapchainStateBaseHeaderFB, CreateSwapchain

Parameters
swapchain:XrSwapchain

the XrSwapchain to update state for.

state:XrSwapchainStateBaseHeaderFB

a pointer to a XrSwapchainState structure based off of XrSwapchainStateBaseHeaderFB.

Annotations
@NativeType:XrResult