Package org.lwjgl.openvr
Class VREventMessageOverlay
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventMessageOverlay
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventMessageOverlay extends org.lwjgl.system.Struct
Member documentation
unVRMessageOverlayResponse
– one of:
Layout
struct VREvent_MessageOverlay_t { uint32_t unVRMessageOverlayResponse; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VREventMessageOverlay.Buffer
An array ofVREventMessageOverlay
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
SIZEOF
The struct size in bytes.static int
UNVRMESSAGEOVERLAYRESPONSE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VREventMessageOverlay(java.nio.ByteBuffer container)
Creates aVREventMessageOverlay
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventMessageOverlay
create(long address)
Returns a newVREventMessageOverlay
instance for the specified memory address.static VREventMessageOverlay.Buffer
create(long address, int capacity)
Create aVREventMessageOverlay.Buffer
instance at the specified memory.static VREventMessageOverlay
createSafe(long address)
static VREventMessageOverlay.Buffer
createSafe(long address, int capacity)
static int
nunVRMessageOverlayResponse(long struct)
Unsafe version ofunVRMessageOverlayResponse()
.int
sizeof()
int
unVRMessageOverlayResponse()
Returns the value of theunVRMessageOverlayResponse
field.
-
-
-
Constructor Detail
-
VREventMessageOverlay
public VREventMessageOverlay(java.nio.ByteBuffer container)
Creates aVREventMessageOverlay
instance at the current position of the specifiedByteBuffer
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
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
unVRMessageOverlayResponse
public int unVRMessageOverlayResponse()
Returns the value of theunVRMessageOverlayResponse
field.
-
create
public static VREventMessageOverlay create(long address)
Returns a newVREventMessageOverlay
instance for the specified memory address.
-
createSafe
@Nullable public static VREventMessageOverlay createSafe(long address)
-
create
public static VREventMessageOverlay.Buffer create(long address, int capacity)
Create aVREventMessageOverlay.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VREventMessageOverlay.Buffer createSafe(long address, int capacity)
-
nunVRMessageOverlayResponse
public static int nunVRMessageOverlayResponse(long struct)
Unsafe version ofunVRMessageOverlayResponse()
.
-
-