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.StructLayout
struct VREvent_WebConsole_t { WebConsoleHandle_t webConsoleHandle; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventWebConsole.BufferAn array ofVREventWebConsolestructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intSIZEOFThe struct size in bytes.static intWEBCONSOLEHANDLEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VREventWebConsole(java.nio.ByteBuffer container)Creates aVREventWebConsoleinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventWebConsolecreate(long address)Returns a newVREventWebConsoleinstance for the specified memory address.static VREventWebConsole.Buffercreate(long address, int capacity)Create aVREventWebConsole.Bufferinstance at the specified memory.static VREventWebConsolecreateSafe(long address)static VREventWebConsole.BuffercreateSafe(long address, int capacity)static longnwebConsoleHandle(long struct)Unsafe version ofwebConsoleHandle().intsizeof()longwebConsoleHandle()Returns the value of thewebConsoleHandlefield.
-
-
-
Constructor Detail
-
VREventWebConsole
public VREventWebConsole(java.nio.ByteBuffer container)
Creates aVREventWebConsoleinstance 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
-
webConsoleHandle
public long webConsoleHandle()
Returns the value of thewebConsoleHandlefield.
-
create
public static VREventWebConsole create(long address)
Returns a newVREventWebConsoleinstance 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.Bufferinstance 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().
-
-