Package org.lwjgl.openvr
Class VREventApplicationLaunch
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventApplicationLaunch
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventApplicationLaunch extends org.lwjgl.system.StructLayout
struct VREvent_ApplicationLaunch_t { uint32_t pid; uint32_t unArgsHandle; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventApplicationLaunch.BufferAn array ofVREventApplicationLaunchstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPIDThe struct member offsets.static intSIZEOFThe struct size in bytes.static intUNARGSHANDLEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VREventApplicationLaunch(java.nio.ByteBuffer container)Creates aVREventApplicationLaunchinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventApplicationLaunchcreate(long address)Returns a newVREventApplicationLaunchinstance for the specified memory address.static VREventApplicationLaunch.Buffercreate(long address, int capacity)Create aVREventApplicationLaunch.Bufferinstance at the specified memory.static VREventApplicationLaunchcreateSafe(long address)static VREventApplicationLaunch.BuffercreateSafe(long address, int capacity)static intnpid(long struct)Unsafe version ofpid().static intnunArgsHandle(long struct)Unsafe version ofunArgsHandle().intpid()Returns the value of thepidfield.intsizeof()intunArgsHandle()Returns the value of theunArgsHandlefield.
-
-
-
Constructor Detail
-
VREventApplicationLaunch
public VREventApplicationLaunch(java.nio.ByteBuffer container)
Creates aVREventApplicationLaunchinstance 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
-
pid
public int pid()
Returns the value of thepidfield.
-
unArgsHandle
public int unArgsHandle()
Returns the value of theunArgsHandlefield.
-
create
public static VREventApplicationLaunch create(long address)
Returns a newVREventApplicationLaunchinstance for the specified memory address.
-
createSafe
@Nullable public static VREventApplicationLaunch createSafe(long address)
-
create
public static VREventApplicationLaunch.Buffer create(long address, int capacity)
Create aVREventApplicationLaunch.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VREventApplicationLaunch.Buffer createSafe(long address, int capacity)
-
npid
public static int npid(long struct)
Unsafe version ofpid().
-
nunArgsHandle
public static int nunArgsHandle(long struct)
Unsafe version ofunArgsHandle().
-
-