Package org.lwjgl.openvr
Class VREventEditingCameraSurface
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventEditingCameraSurface
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventEditingCameraSurface extends org.lwjgl.system.Struct
Layout
struct VREvent_EditingCameraSurface_t { uint64_t overlayHandle; uint32_t nVisualMode; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VREventEditingCameraSurface.Buffer
An array ofVREventEditingCameraSurface
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
NVISUALMODE
OVERLAYHANDLEThe struct member offsets.static int
SIZEOF
The struct size in bytes.
-
Constructor Summary
Constructors Constructor Description VREventEditingCameraSurface(java.nio.ByteBuffer container)
Creates aVREventEditingCameraSurface
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 VREventEditingCameraSurface
create(long address)
Returns a newVREventEditingCameraSurface
instance for the specified memory address.static VREventEditingCameraSurface.Buffer
create(long address, int capacity)
Create aVREventEditingCameraSurface.Buffer
instance at the specified memory.static VREventEditingCameraSurface
createSafe(long address)
static VREventEditingCameraSurface.Buffer
createSafe(long address, int capacity)
static int
nnVisualMode(long struct)
Unsafe version ofnVisualMode()
.static long
noverlayHandle(long struct)
Unsafe version ofoverlayHandle()
.int
nVisualMode()
Returns the value of thenVisualMode
field.long
overlayHandle()
Returns the value of theoverlayHandle
field.int
sizeof()
-
-
-
Constructor Detail
-
VREventEditingCameraSurface
public VREventEditingCameraSurface(java.nio.ByteBuffer container)
Creates aVREventEditingCameraSurface
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
-
overlayHandle
public long overlayHandle()
Returns the value of theoverlayHandle
field.
-
nVisualMode
public int nVisualMode()
Returns the value of thenVisualMode
field.
-
create
public static VREventEditingCameraSurface create(long address)
Returns a newVREventEditingCameraSurface
instance for the specified memory address.
-
createSafe
@Nullable public static VREventEditingCameraSurface createSafe(long address)
-
create
public static VREventEditingCameraSurface.Buffer create(long address, int capacity)
Create aVREventEditingCameraSurface.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VREventEditingCameraSurface.Buffer createSafe(long address, int capacity)
-
noverlayHandle
public static long noverlayHandle(long struct)
Unsafe version ofoverlayHandle()
.
-
nnVisualMode
public static int nnVisualMode(long struct)
Unsafe version ofnVisualMode()
.
-
-