Package org.lwjgl.openvr
Class VREventShowDevTools
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventShowDevTools
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventShowDevTools extends org.lwjgl.system.Struct
Layout
struct VREvent_ShowDevTools_t { int32_t nBrowserIdentifier; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VREventShowDevTools.Buffer
An array ofVREventShowDevTools
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
NBROWSERIDENTIFIER
The struct member offsets.static int
SIZEOF
The struct size in bytes.
-
Constructor Summary
Constructors Constructor Description VREventShowDevTools(java.nio.ByteBuffer container)
Creates aVREventShowDevTools
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 VREventShowDevTools
create(long address)
Returns a newVREventShowDevTools
instance for the specified memory address.static VREventShowDevTools.Buffer
create(long address, int capacity)
Create aVREventShowDevTools.Buffer
instance at the specified memory.static VREventShowDevTools
createSafe(long address)
static VREventShowDevTools.Buffer
createSafe(long address, int capacity)
int
nBrowserIdentifier()
Returns the value of thenBrowserIdentifier
field.static int
nnBrowserIdentifier(long struct)
Unsafe version ofnBrowserIdentifier()
.int
sizeof()
-
-
-
Constructor Detail
-
VREventShowDevTools
public VREventShowDevTools(java.nio.ByteBuffer container)
Creates aVREventShowDevTools
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
-
nBrowserIdentifier
public int nBrowserIdentifier()
Returns the value of thenBrowserIdentifier
field.
-
create
public static VREventShowDevTools create(long address)
Returns a newVREventShowDevTools
instance for the specified memory address.
-
createSafe
@Nullable public static VREventShowDevTools createSafe(long address)
-
create
public static VREventShowDevTools.Buffer create(long address, int capacity)
Create aVREventShowDevTools.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VREventShowDevTools.Buffer createSafe(long address, int capacity)
-
nnBrowserIdentifier
public static int nnBrowserIdentifier(long struct)
Unsafe version ofnBrowserIdentifier()
.
-
-