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.Struct
Layout
struct VREvent_ApplicationLaunch_t { uint32_t pid; uint32_t unArgsHandle; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VREventApplicationLaunch.Buffer
An array ofVREventApplicationLaunch
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
PID
The struct member offsets.static int
SIZEOF
The struct size in bytes.static int
UNARGSHANDLE
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VREventApplicationLaunch(java.nio.ByteBuffer container)
Creates aVREventApplicationLaunch
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 VREventApplicationLaunch
create(long address)
Returns a newVREventApplicationLaunch
instance for the specified memory address.static VREventApplicationLaunch.Buffer
create(long address, int capacity)
Create aVREventApplicationLaunch.Buffer
instance at the specified memory.static VREventApplicationLaunch
createSafe(long address)
static VREventApplicationLaunch.Buffer
createSafe(long address, int capacity)
static int
npid(long struct)
Unsafe version ofpid()
.static int
nunArgsHandle(long struct)
Unsafe version ofunArgsHandle()
.int
pid()
Returns the value of thepid
field.int
sizeof()
int
unArgsHandle()
Returns the value of theunArgsHandle
field.
-
-
-
Constructor Detail
-
VREventApplicationLaunch
public VREventApplicationLaunch(java.nio.ByteBuffer container)
Creates aVREventApplicationLaunch
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
-
pid
public int pid()
Returns the value of thepid
field.
-
unArgsHandle
public int unArgsHandle()
Returns the value of theunArgsHandle
field.
-
create
public static VREventApplicationLaunch create(long address)
Returns a newVREventApplicationLaunch
instance 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.Buffer
instance 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()
.
-
-