Package org.lwjgl.openvr
Class VREventWebConsole
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventWebConsole
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventWebConsole extends org.lwjgl.system.Struct
Layout
struct VREvent_WebConsole_t { WebConsoleHandle_t webConsoleHandle; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VREventWebConsole.Buffer
An array ofVREventWebConsole
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
WEBCONSOLEHANDLE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VREventWebConsole(java.nio.ByteBuffer container)
Creates aVREventWebConsole
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 VREventWebConsole
create(long address)
Returns a newVREventWebConsole
instance for the specified memory address.static VREventWebConsole.Buffer
create(long address, int capacity)
Create aVREventWebConsole.Buffer
instance at the specified memory.static VREventWebConsole
createSafe(long address)
static VREventWebConsole.Buffer
createSafe(long address, int capacity)
static long
nwebConsoleHandle(long struct)
Unsafe version ofwebConsoleHandle()
.int
sizeof()
long
webConsoleHandle()
Returns the value of thewebConsoleHandle
field.
-
-
-
Constructor Detail
-
VREventWebConsole
public VREventWebConsole(java.nio.ByteBuffer container)
Creates aVREventWebConsole
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
-
webConsoleHandle
public long webConsoleHandle()
Returns the value of thewebConsoleHandle
field.
-
create
public static VREventWebConsole create(long address)
Returns a newVREventWebConsole
instance for the specified memory address.
-
createSafe
@Nullable public static VREventWebConsole createSafe(long address)
-
create
public static VREventWebConsole.Buffer create(long address, int capacity)
Create aVREventWebConsole.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VREventWebConsole.Buffer createSafe(long address, int capacity)
-
nwebConsoleHandle
public static long nwebConsoleHandle(long struct)
Unsafe version ofwebConsoleHandle()
.
-
-