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.StructLayout
struct VREvent_EditingCameraSurface_t { uint64_t overlayHandle; uint32_t nVisualMode; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventEditingCameraSurface.BufferAn array ofVREventEditingCameraSurfacestructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intNVISUALMODE
OVERLAYHANDLEThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description VREventEditingCameraSurface(java.nio.ByteBuffer container)Creates aVREventEditingCameraSurfaceinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VREventEditingCameraSurfacecreate(long address)Returns a newVREventEditingCameraSurfaceinstance for the specified memory address.static VREventEditingCameraSurface.Buffercreate(long address, int capacity)Create aVREventEditingCameraSurface.Bufferinstance at the specified memory.static VREventEditingCameraSurfacecreateSafe(long address)static VREventEditingCameraSurface.BuffercreateSafe(long address, int capacity)static intnnVisualMode(long struct)Unsafe version ofnVisualMode().static longnoverlayHandle(long struct)Unsafe version ofoverlayHandle().intnVisualMode()Returns the value of thenVisualModefield.longoverlayHandle()Returns the value of theoverlayHandlefield.intsizeof()
-
-
-
Constructor Detail
-
VREventEditingCameraSurface
public VREventEditingCameraSurface(java.nio.ByteBuffer container)
Creates aVREventEditingCameraSurfaceinstance 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
-
overlayHandle
public long overlayHandle()
Returns the value of theoverlayHandlefield.
-
nVisualMode
public int nVisualMode()
Returns the value of thenVisualModefield.
-
create
public static VREventEditingCameraSurface create(long address)
Returns a newVREventEditingCameraSurfaceinstance 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.Bufferinstance 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().
-
-