Package org.lwjgl.openvr
Class VREventScreenshotProgress
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventScreenshotProgress
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventScreenshotProgress extends org.lwjgl.system.StructLayout
struct VREvent_ScreenshotProgress_t { float progress; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventScreenshotProgress.BufferAn array ofVREventScreenshotProgressstructs.
-
Constructor Summary
Constructors Constructor Description VREventScreenshotProgress(java.nio.ByteBuffer container)Creates aVREventScreenshotProgressinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventScreenshotProgresscreate(long address)Returns a newVREventScreenshotProgressinstance for the specified memory address.static VREventScreenshotProgress.Buffercreate(long address, int capacity)Create aVREventScreenshotProgress.Bufferinstance at the specified memory.static VREventScreenshotProgresscreateSafe(long address)static VREventScreenshotProgress.BuffercreateSafe(long address, int capacity)static floatnprogress(long struct)Unsafe version ofprogress().floatprogress()Returns the value of theprogressfield.intsizeof()
-
-
-
Constructor Detail
-
VREventScreenshotProgress
public VREventScreenshotProgress(java.nio.ByteBuffer container)
Creates aVREventScreenshotProgressinstance 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
-
progress
public float progress()
Returns the value of theprogressfield.
-
create
public static VREventScreenshotProgress create(long address)
Returns a newVREventScreenshotProgressinstance for the specified memory address.
-
createSafe
@Nullable public static VREventScreenshotProgress createSafe(long address)
-
create
public static VREventScreenshotProgress.Buffer create(long address, int capacity)
Create aVREventScreenshotProgress.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VREventScreenshotProgress.Buffer createSafe(long address, int capacity)
-
nprogress
public static float nprogress(long struct)
Unsafe version ofprogress().
-
-