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.StructLayout
struct VREvent_ShowDevTools_t { int32_t nBrowserIdentifier; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventShowDevTools.BufferAn array ofVREventShowDevToolsstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intNBROWSERIDENTIFIERThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description VREventShowDevTools(java.nio.ByteBuffer container)Creates aVREventShowDevToolsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventShowDevToolscreate(long address)Returns a newVREventShowDevToolsinstance for the specified memory address.static VREventShowDevTools.Buffercreate(long address, int capacity)Create aVREventShowDevTools.Bufferinstance at the specified memory.static VREventShowDevToolscreateSafe(long address)static VREventShowDevTools.BuffercreateSafe(long address, int capacity)intnBrowserIdentifier()Returns the value of thenBrowserIdentifierfield.static intnnBrowserIdentifier(long struct)Unsafe version ofnBrowserIdentifier().intsizeof()
-
-
-
Constructor Detail
-
VREventShowDevTools
public VREventShowDevTools(java.nio.ByteBuffer container)
Creates aVREventShowDevToolsinstance 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
-
nBrowserIdentifier
public int nBrowserIdentifier()
Returns the value of thenBrowserIdentifierfield.
-
create
public static VREventShowDevTools create(long address)
Returns a newVREventShowDevToolsinstance 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.Bufferinstance 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().
-
-