Package org.lwjgl.openvr
Class VREventProgressUpdate
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventProgressUpdate
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventProgressUpdate extends org.lwjgl.system.Struct
Layout
struct VREvent_ProgressUpdate_t { uint64_t ulApplicationPropertyContainer; uint64_t pathDevice; uint64_t pathInputSource; uint64_t pathProgressAction; uint64_t pathIcon; float fProgress; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VREventProgressUpdate.Buffer
An array ofVREventProgressUpdate
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
FPROGRESS
PATHDEVICE
PATHICON
PATHINPUTSOURCE
PATHPROGRESSACTIONThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
ULAPPLICATIONPROPERTYCONTAINER
The struct member offsets.
-
Constructor Summary
Constructors Constructor Description VREventProgressUpdate(java.nio.ByteBuffer container)
Creates aVREventProgressUpdate
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 VREventProgressUpdate
create(long address)
Returns a newVREventProgressUpdate
instance for the specified memory address.static VREventProgressUpdate.Buffer
create(long address, int capacity)
Create aVREventProgressUpdate.Buffer
instance at the specified memory.static VREventProgressUpdate
createSafe(long address)
static VREventProgressUpdate.Buffer
createSafe(long address, int capacity)
float
fProgress()
Returns the value of thefProgress
field.static float
nfProgress(long struct)
Unsafe version offProgress()
.static long
npathDevice(long struct)
Unsafe version ofpathDevice()
.static long
npathIcon(long struct)
Unsafe version ofpathIcon()
.static long
npathInputSource(long struct)
Unsafe version ofpathInputSource()
.static long
npathProgressAction(long struct)
Unsafe version ofpathProgressAction()
.static long
nulApplicationPropertyContainer(long struct)
Unsafe version ofulApplicationPropertyContainer()
.long
pathDevice()
Returns the value of thepathDevice
field.long
pathIcon()
Returns the value of thepathIcon
field.long
pathInputSource()
Returns the value of thepathInputSource
field.long
pathProgressAction()
Returns the value of thepathProgressAction
field.int
sizeof()
long
ulApplicationPropertyContainer()
Returns the value of theulApplicationPropertyContainer
field.
-
-
-
Constructor Detail
-
VREventProgressUpdate
public VREventProgressUpdate(java.nio.ByteBuffer container)
Creates aVREventProgressUpdate
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
-
ulApplicationPropertyContainer
public long ulApplicationPropertyContainer()
Returns the value of theulApplicationPropertyContainer
field.
-
pathDevice
public long pathDevice()
Returns the value of thepathDevice
field.
-
pathInputSource
public long pathInputSource()
Returns the value of thepathInputSource
field.
-
pathProgressAction
public long pathProgressAction()
Returns the value of thepathProgressAction
field.
-
pathIcon
public long pathIcon()
Returns the value of thepathIcon
field.
-
fProgress
public float fProgress()
Returns the value of thefProgress
field.
-
create
public static VREventProgressUpdate create(long address)
Returns a newVREventProgressUpdate
instance for the specified memory address.
-
createSafe
@Nullable public static VREventProgressUpdate createSafe(long address)
-
create
public static VREventProgressUpdate.Buffer create(long address, int capacity)
Create aVREventProgressUpdate.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VREventProgressUpdate.Buffer createSafe(long address, int capacity)
-
nulApplicationPropertyContainer
public static long nulApplicationPropertyContainer(long struct)
Unsafe version ofulApplicationPropertyContainer()
.
-
npathDevice
public static long npathDevice(long struct)
Unsafe version ofpathDevice()
.
-
npathInputSource
public static long npathInputSource(long struct)
Unsafe version ofpathInputSource()
.
-
npathProgressAction
public static long npathProgressAction(long struct)
Unsafe version ofpathProgressAction()
.
-
npathIcon
public static long npathIcon(long struct)
Unsafe version ofpathIcon()
.
-
nfProgress
public static float nfProgress(long struct)
Unsafe version offProgress()
.
-
-