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.StructLayout
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 classVREventProgressUpdate.BufferAn array ofVREventProgressUpdatestructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFPROGRESS
PATHDEVICE
PATHICON
PATHINPUTSOURCE
PATHPROGRESSACTIONThe struct member offsets.static intSIZEOFThe struct size in bytes.static intULAPPLICATIONPROPERTYCONTAINERThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VREventProgressUpdate(java.nio.ByteBuffer container)Creates aVREventProgressUpdateinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventProgressUpdatecreate(long address)Returns a newVREventProgressUpdateinstance for the specified memory address.static VREventProgressUpdate.Buffercreate(long address, int capacity)Create aVREventProgressUpdate.Bufferinstance at the specified memory.static VREventProgressUpdatecreateSafe(long address)static VREventProgressUpdate.BuffercreateSafe(long address, int capacity)floatfProgress()Returns the value of thefProgressfield.static floatnfProgress(long struct)Unsafe version offProgress().static longnpathDevice(long struct)Unsafe version ofpathDevice().static longnpathIcon(long struct)Unsafe version ofpathIcon().static longnpathInputSource(long struct)Unsafe version ofpathInputSource().static longnpathProgressAction(long struct)Unsafe version ofpathProgressAction().static longnulApplicationPropertyContainer(long struct)Unsafe version ofulApplicationPropertyContainer().longpathDevice()Returns the value of thepathDevicefield.longpathIcon()Returns the value of thepathIconfield.longpathInputSource()Returns the value of thepathInputSourcefield.longpathProgressAction()Returns the value of thepathProgressActionfield.intsizeof()longulApplicationPropertyContainer()Returns the value of theulApplicationPropertyContainerfield.
-
-
-
Constructor Detail
-
VREventProgressUpdate
public VREventProgressUpdate(java.nio.ByteBuffer container)
Creates aVREventProgressUpdateinstance 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
-
ulApplicationPropertyContainer
public long ulApplicationPropertyContainer()
Returns the value of theulApplicationPropertyContainerfield.
-
pathDevice
public long pathDevice()
Returns the value of thepathDevicefield.
-
pathInputSource
public long pathInputSource()
Returns the value of thepathInputSourcefield.
-
pathProgressAction
public long pathProgressAction()
Returns the value of thepathProgressActionfield.
-
pathIcon
public long pathIcon()
Returns the value of thepathIconfield.
-
fProgress
public float fProgress()
Returns the value of thefProgressfield.
-
create
public static VREventProgressUpdate create(long address)
Returns a newVREventProgressUpdateinstance 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.Bufferinstance 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().
-
-