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.Struct
Layout
struct VREvent_ScreenshotProgress_t { float progress; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VREventScreenshotProgress.Buffer
An array ofVREventScreenshotProgress
structs.
-
Constructor Summary
Constructors Constructor Description VREventScreenshotProgress(java.nio.ByteBuffer container)
Creates aVREventScreenshotProgress
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 VREventScreenshotProgress
create(long address)
Returns a newVREventScreenshotProgress
instance for the specified memory address.static VREventScreenshotProgress.Buffer
create(long address, int capacity)
Create aVREventScreenshotProgress.Buffer
instance at the specified memory.static VREventScreenshotProgress
createSafe(long address)
static VREventScreenshotProgress.Buffer
createSafe(long address, int capacity)
static float
nprogress(long struct)
Unsafe version ofprogress()
.float
progress()
Returns the value of theprogress
field.int
sizeof()
-
-
-
Constructor Detail
-
VREventScreenshotProgress
public VREventScreenshotProgress(java.nio.ByteBuffer container)
Creates aVREventScreenshotProgress
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
-
progress
public float progress()
Returns the value of theprogress
field.
-
create
public static VREventScreenshotProgress create(long address)
Returns a newVREventScreenshotProgress
instance 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.Buffer
instance 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()
.
-
-