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.StructMember documentation
unVRMessageOverlayResponse– one of:
Layout
struct VREvent_MessageOverlay_t { uint32_t unVRMessageOverlayResponse; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventMessageOverlay.BufferAn array ofVREventMessageOverlaystructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intSIZEOFThe struct size in bytes.static intUNVRMESSAGEOVERLAYRESPONSEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VREventMessageOverlay(java.nio.ByteBuffer container)Creates aVREventMessageOverlayinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventMessageOverlaycreate(long address)Returns a newVREventMessageOverlayinstance for the specified memory address.static VREventMessageOverlay.Buffercreate(long address, int capacity)Create aVREventMessageOverlay.Bufferinstance at the specified memory.static VREventMessageOverlaycreateSafe(long address)static VREventMessageOverlay.BuffercreateSafe(long address, int capacity)static intnunVRMessageOverlayResponse(long struct)Unsafe version ofunVRMessageOverlayResponse().intsizeof()intunVRMessageOverlayResponse()Returns the value of theunVRMessageOverlayResponsefield.
-
-
-
Constructor Detail
-
VREventMessageOverlay
public VREventMessageOverlay(java.nio.ByteBuffer container)
Creates aVREventMessageOverlayinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
unVRMessageOverlayResponse
public int unVRMessageOverlayResponse()
Returns the value of theunVRMessageOverlayResponsefield.
-
create
public static VREventMessageOverlay create(long address)
Returns a newVREventMessageOverlayinstance 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.Bufferinstance 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().
-
-