Top Description Inners Fields Constructors Methods
org.lwjgl.openvr

public Class VREvent

extends Struct<VREvent>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct VREvent_t
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

An event posted by the server to all running applications.

Layout


struct VREvent_t {
    uint32_t eventType;
    TrackedDeviceIndex_t trackedDeviceIndex;
    float eventAgeSeconds;
    VREvent_Data_t data;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
VREvent.Buffer

An array of VREvent structs.

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
DATA

The struct member offsets.

public static final int
EVENTAGESECONDS

The struct member offsets.

public static final int
EVENTTYPE

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
TRACKEDDEVICEINDEX

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VREvent(long address, ByteBuffer container)

public
VREvent(ByteBuffer container)

Creates a VREvent instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VREvent
calloc()

Returns a new VREvent instance allocated with memCalloc.

public static VREvent.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VREvent.Buffer instance allocated with memCalloc.

public static VREvent
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VREvent instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VREvent.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VREvent.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VREvent
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VREvent
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VREvent.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VREvent.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VREvent
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VREvent
create()

Returns a new VREvent instance allocated with BufferUtils.

public static VREvent
create(long address)

Returns a new VREvent instance for the specified memory address.

public static VREvent.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VREvent.Buffer instance allocated with BufferUtils.

public static VREvent.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VREvent.Buffer instance at the specified memory.

public static VREvent
createSafe(long address)

Like create, but returns null if address is NULL.

public static VREvent.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public VREventData
data()

more information about the event.

public float
eventAgeSeconds()

the age of the event in seconds

public int
eventType()

the type of the event.

public static VREvent
malloc()

Returns a new VREvent instance allocated with memAlloc.

public static VREvent.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VREvent.Buffer instance allocated with memAlloc.

public static VREvent
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VREvent instance allocated on the specified MemoryStack.

public static VREvent.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VREvent.Buffer instance allocated on the specified MemoryStack.

public static VREvent
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VREvent
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VREvent.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VREvent.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VREventData
ndata(long struct)

Unsafe version of data.

public static float
neventAgeSeconds(long struct)

Unsafe version of eventAgeSeconds.

public static int
neventType(long struct)

Unsafe version of eventType.

public static int
ntrackedDeviceIndex(long struct)

Unsafe version of trackedDeviceIndex.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
trackedDeviceIndex()

the tracked device index of the event.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

DATAback to summary
public static final int DATA

The struct member offsets.

EVENTAGESECONDSback to summary
public static final int EVENTAGESECONDS

The struct member offsets.

EVENTTYPEback to summary
public static final int EVENTTYPE

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

TRACKEDDEVICEINDEXback to summary
public static final int TRACKEDDEVICEINDEX

The struct member offsets.

Constructor Detail

VREventback to summary
protected VREvent(long address, ByteBuffer container)
VREventback to summary
public VREvent(ByteBuffer container)

Creates a VREvent instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

The created instance holds a strong reference to the container object.

Method Detail

callocback to summary
public static VREvent calloc()

Returns a new VREvent instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VREvent.Buffer calloc(int capacity)

Returns a new VREvent.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VREvent calloc(MemoryStack stack)

Returns a new VREvent instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VREvent.Buffer calloc(int capacity, MemoryStack stack)

Returns a new VREvent.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

callocStackback to summary
public static VREvent callocStack()

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VREvent callocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VREvent.Buffer callocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
callocStackback to summary
public static VREvent.Buffer callocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use calloc(int, MemoryStack) instead.

Annotations
@Deprecated
createback to summary
protected VREvent create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VREvent create()

Returns a new VREvent instance allocated with BufferUtils.

createback to summary
public static VREvent create(long address)

Returns a new VREvent instance for the specified memory address.

createback to summary
public static VREvent.Buffer create(int capacity)

Returns a new VREvent.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VREvent.Buffer create(long address, int capacity)

Create a VREvent.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VREvent createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VREvent.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
databack to summary
public VREventData data()

more information about the event. This is a union of several structs. See the event type enum for information about which union member to look at for each event.

Annotations
@NativeType:VREvent_Data_t
eventAgeSecondsback to summary
public float eventAgeSeconds()

the age of the event in seconds

eventTypeback to summary
public int eventType()

the type of the event. One of:

VR#EVREventType_VREvent_None
VR#EVREventType_VREvent_TrackedDeviceActivated
VR#EVREventType_VREvent_TrackedDeviceDeactivated
VR#EVREventType_VREvent_TrackedDeviceUpdated
VR#EVREventType_VREvent_TrackedDeviceUserInteractionStarted
VR#EVREventType_VREvent_TrackedDeviceUserInteractionEnded
VR#EVREventType_VREvent_IpdChanged
VR#EVREventType_VREvent_EnterStandbyMode
VR#EVREventType_VREvent_LeaveStandbyMode
VR#EVREventType_VREvent_TrackedDeviceRoleChanged
VR#EVREventType_VREvent_WatchdogWakeUpRequested
VR#EVREventType_VREvent_LensDistortionChanged
VR#EVREventType_VREvent_PropertyChanged
VR#EVREventType_VREvent_WirelessDisconnect
VR#EVREventType_VREvent_WirelessReconnect
VR#EVREventType_VREvent_ButtonPress
VR#EVREventType_VREvent_ButtonUnpress
VR#EVREventType_VREvent_ButtonTouch
VR#EVREventType_VREvent_ButtonUntouch
VR#EVREventType_VREvent_Modal_Cancel
VR#EVREventType_VREvent_MouseMove
VR#EVREventType_VREvent_MouseButtonDown
VR#EVREventType_VREvent_MouseButtonUp
VR#EVREventType_VREvent_FocusEnter
VR#EVREventType_VREvent_FocusLeave
VR#EVREventType_VREvent_ScrollDiscrete
VR#EVREventType_VREvent_TouchPadMove
VR#EVREventType_VREvent_OverlayFocusChanged
VR#EVREventType_VREvent_ReloadOverlays
VR#EVREventType_VREvent_ScrollSmooth
VR#EVREventType_VREvent_LockMousePosition
VR#EVREventType_VREvent_UnlockMousePosition
VR#EVREventType_VREvent_InputFocusCaptured
VR#EVREventType_VREvent_InputFocusReleased
VR#EVREventType_VREvent_SceneApplicationChanged
VR#EVREventType_VREvent_InputFocusChanged
VR#EVREventType_VREvent_SceneApplicationUsingWrongGraphicsAdapter
VR#EVREventType_VREvent_ActionBindingReloaded
VR#EVREventType_VREvent_HideRenderModels
VR#EVREventType_VREvent_ShowRenderModels
VR#EVREventType_VREvent_SceneApplicationStateChanged
VR#EVREventType_VREvent_SceneAppPipeDisconnected
VR#EVREventType_VREvent_ConsoleOpened
VR#EVREventType_VREvent_ConsoleClosed
VR#EVREventType_VREvent_OverlayShown
VR#EVREventType_VREvent_OverlayHidden
VR#EVREventType_VREvent_DashboardActivated
VR#EVREventType_VREvent_DashboardDeactivated
VR#EVREventType_VREvent_DashboardRequested
VR#EVREventType_VREvent_ResetDashboard
VR#EVREventType_VREvent_ImageLoaded
VR#EVREventType_VREvent_ShowKeyboard
VR#EVREventType_VREvent_HideKeyboard
VR#EVREventType_VREvent_OverlayGamepadFocusGained
VR#EVREventType_VREvent_OverlayGamepadFocusLost
VR#EVREventType_VREvent_OverlaySharedTextureChanged
VR#EVREventType_VREvent_ScreenshotTriggered
VR#EVREventType_VREvent_ImageFailed
VR#EVREventType_VREvent_DashboardOverlayCreated
VR#EVREventType_VREvent_SwitchGamepadFocus
VR#EVREventType_VREvent_RequestScreenshot
VR#EVREventType_VREvent_ScreenshotTaken
VR#EVREventType_VREvent_ScreenshotFailed
VR#EVREventType_VREvent_SubmitScreenshotToDashboard
VR#EVREventType_VREvent_ScreenshotProgressToDashboard
VR#EVREventType_VREvent_PrimaryDashboardDeviceChanged
VR#EVREventType_VREvent_RoomViewShown
VR#EVREventType_VREvent_RoomViewHidden
VR#EVREventType_VREvent_ShowUI
VR#EVREventType_VREvent_ShowDevTools
VR#EVREventType_VREvent_DesktopViewUpdating
VR#EVREventType_VREvent_DesktopViewReady
VR#EVREventType_VREvent_StartDashboard
VR#EVREventType_VREvent_ElevatePrism
VR#EVREventType_VREvent_OverlayClosed
VR#EVREventType_VREvent_Notification_Shown
VR#EVREventType_VREvent_Notification_Hidden
VR#EVREventType_VREvent_Notification_BeginInteraction
VR#EVREventType_VREvent_Notification_Destroyed
VR#EVREventType_VREvent_Quit
VR#EVREventType_VREvent_ProcessQuit
VR#EVREventType_VREvent_QuitAcknowledged
VR#EVREventType_VREvent_DriverRequestedQuit
VR#EVREventType_VREvent_RestartRequested
VR#EVREventType_VREvent_InvalidateSwapTextureSets
VR#EVREventType_VREvent_ChaperoneDataHasChanged
VR#EVREventType_VREvent_ChaperoneUniverseHasChanged
VR#EVREventType_VREvent_ChaperoneTempDataHasChanged
VR#EVREventType_VREvent_ChaperoneSettingsHaveChanged
VR#EVREventType_VREvent_SeatedZeroPoseReset
VR#EVREventType_VREvent_ChaperoneFlushCache
VR#EVREventType_VREvent_ChaperoneRoomSetupStarting
VR#EVREventType_VREvent_ChaperoneRoomSetupFinished
VR#EVREventType_VREvent_StandingZeroPoseReset
VR#EVREventType_VREvent_AudioSettingsHaveChanged
VR#EVREventType_VREvent_BackgroundSettingHasChanged
VR#EVREventType_VREvent_CameraSettingsHaveChanged
VR#EVREventType_VREvent_ReprojectionSettingHasChanged
VR#EVREventType_VREvent_ModelSkinSettingsHaveChanged
VR#EVREventType_VREvent_EnvironmentSettingsHaveChanged
VR#EVREventType_VREvent_PowerSettingsHaveChanged
VR#EVREventType_VREvent_EnableHomeAppSettingsHaveChanged
VR#EVREventType_VREvent_SteamVRSectionSettingChanged
VR#EVREventType_VREvent_LighthouseSectionSettingChanged
VR#EVREventType_VREvent_NullSectionSettingChanged
VR#EVREventType_VREvent_UserInterfaceSectionSettingChanged
VR#EVREventType_VREvent_NotificationsSectionSettingChanged
VR#EVREventType_VREvent_KeyboardSectionSettingChanged
VR#EVREventType_VREvent_PerfSectionSettingChanged
VR#EVREventType_VREvent_DashboardSectionSettingChanged
VR#EVREventType_VREvent_WebInterfaceSectionSettingChanged
VR#EVREventType_VREvent_TrackersSectionSettingChanged
VR#EVREventType_VREvent_LastKnownSectionSettingChanged
VR#EVREventType_VREvent_DismissedWarningsSectionSettingChanged
VR#EVREventType_VREvent_GpuSpeedSectionSettingChanged
VR#EVREventType_VREvent_WindowsMRSectionSettingChanged
VR#EVREventType_VREvent_OtherSectionSettingChanged
VR#EVREventType_VREvent_StatusUpdate
VR#EVREventType_VREvent_WebInterface_InstallDriverCompleted
VR#EVREventType_VREvent_MCImageUpdated
VR#EVREventType_VREvent_FirmwareUpdateStarted
VR#EVREventType_VREvent_FirmwareUpdateFinished
VR#EVREventType_VREvent_KeyboardClosed
VR#EVREventType_VREvent_KeyboardCharInput
VR#EVREventType_VREvent_KeyboardDone
VR#EVREventType_VREvent_ApplicationListUpdated
VR#EVREventType_VREvent_ApplicationMimeTypeLoad
VR#EVREventType_VREvent_ProcessConnected
VR#EVREventType_VREvent_ProcessDisconnected
VR#EVREventType_VREvent_Compositor_ChaperoneBoundsShown
VR#EVREventType_VREvent_Compositor_ChaperoneBoundsHidden
VR#EVREventType_VREvent_Compositor_DisplayDisconnected
VR#EVREventType_VREvent_Compositor_DisplayReconnected
VR#EVREventType_VREvent_Compositor_HDCPError
VR#EVREventType_VREvent_Compositor_ApplicationNotResponding
VR#EVREventType_VREvent_Compositor_ApplicationResumed
VR#EVREventType_VREvent_Compositor_OutOfVideoMemory
VR#EVREventType_VREvent_Compositor_DisplayModeNotSupported
VR#EVREventType_VREvent_Compositor_StageOverrideReady
VR#EVREventType_VREvent_Compositor_RequestDisconnectReconnect
VR#EVREventType_VREvent_TrackedCamera_StartVideoStream
VR#EVREventType_VREvent_TrackedCamera_StopVideoStream
VR#EVREventType_VREvent_TrackedCamera_PauseVideoStream
VR#EVREventType_VREvent_TrackedCamera_ResumeVideoStream
VR#EVREventType_VREvent_TrackedCamera_EditingSurface
VR#EVREventType_VREvent_PerformanceTest_EnableCapture
VR#EVREventType_VREvent_PerformanceTest_DisableCapture
VR#EVREventType_VREvent_PerformanceTest_FidelityLevel
VR#EVREventType_VREvent_MessageOverlay_Closed
VR#EVREventType_VREvent_MessageOverlayCloseRequested
VR#EVREventType_VREvent_Input_HapticVibration
VR#EVREventType_VREvent_Input_BindingLoadFailed
VR#EVREventType_VREvent_Input_BindingLoadSuccessful
VR#EVREventType_VREvent_Input_ActionManifestReloaded
VR#EVREventType_VREvent_Input_ActionManifestLoadFailed
VR#EVREventType_VREvent_Input_ProgressUpdate
VR#EVREventType_VREvent_Input_TrackerActivated
VR#EVREventType_VREvent_Input_BindingsUpdated
VR#EVREventType_VREvent_Input_BindingSubscriptionChanged
VR#EVREventType_VREvent_SpatialAnchors_PoseUpdated
VR#EVREventType_VREvent_SpatialAnchors_DescriptorUpdated
VR#EVREventType_VREvent_SpatialAnchors_RequestPoseUpdate
VR#EVREventType_VREvent_SpatialAnchors_RequestDescriptorUpdate
VR#EVREventType_VREvent_SystemReport_Started
VR#EVREventType_VREvent_Monitor_ShowHeadsetView
VR#EVREventType_VREvent_Monitor_HideHeadsetView
VR#EVREventType_VREvent_VendorSpecific_Reserved_Start
VR#EVREventType_VREvent_VendorSpecific_Reserved_End
Annotations
@NativeType:uint32_t
mallocback to summary
public static VREvent malloc()

Returns a new VREvent instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VREvent.Buffer malloc(int capacity)

Returns a new VREvent.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VREvent malloc(MemoryStack stack)

Returns a new VREvent instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VREvent.Buffer malloc(int capacity, MemoryStack stack)

Returns a new VREvent.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

mallocStackback to summary
public static VREvent mallocStack()

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VREvent mallocStack(MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VREvent.Buffer mallocStack(int capacity)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
mallocStackback to summary
public static VREvent.Buffer mallocStack(int capacity, MemoryStack stack)

Deprecated

Deprecated for removal in 3.4.0. Use malloc(int, MemoryStack) instead.

Annotations
@Deprecated
ndataback to summary
public static VREventData ndata(long struct)

Unsafe version of data.

neventAgeSecondsback to summary
public static float neventAgeSeconds(long struct)

Unsafe version of eventAgeSeconds.

neventTypeback to summary
public static int neventType(long struct)

Unsafe version of eventType.

ntrackedDeviceIndexback to summary
public static int ntrackedDeviceIndex(long struct)

Unsafe version of trackedDeviceIndex.

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
trackedDeviceIndexback to summary
public int trackedDeviceIndex()

the tracked device index of the event. For events that aren't connected to a tracked device this is VR#k_unTrackedDeviceIndexInvalid.

Annotations
@NativeType:TrackedDeviceIndex_t
org.lwjgl.openvr back to summary

public Class VREvent.Buffer

extends StructBuffer<VREvent, VREvent.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of VREvent structs.

Field Summary

Modifier and TypeField and Description
private static final VREvent

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VREvent.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public VREventData

Returns:

a VREventData view of the VREvent#data field.
data
()

public float

Returns:

the value of the VREvent#eventAgeSeconds field.
eventAgeSeconds
()

public int

Returns:

the value of the VREvent#eventType field.
eventType
()

protected VREvent
protected VREvent.Buffer
public int

Returns:

the value of the VREvent#trackedDeviceIndex field.
trackedDeviceIndex
()

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VREvent ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VREvent.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VREvent#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

databack to summary
public VREventData data()
Returns:VREventData

a VREventData view of the VREvent#data field.

Annotations
@NativeType:VREvent_Data_t
eventAgeSecondsback to summary
public float eventAgeSeconds()
Returns:float

the value of the VREvent#eventAgeSeconds field.

eventTypeback to summary
public int eventType()
Returns:int

the value of the VREvent#eventType field.

Annotations
@NativeType:uint32_t
getElementFactoryback to summary
protected VREvent getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
selfback to summary
protected VREvent.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
trackedDeviceIndexback to summary
public int trackedDeviceIndex()
Returns:int

the value of the VREvent#trackedDeviceIndex field.

Annotations
@NativeType:TrackedDeviceIndex_t