Package org.lwjgl.ovr
Class OVRExternalCamera
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<OVRExternalCamera>
org.lwjgl.ovr.OVRExternalCamera
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class OVRExternalCamera
extends org.lwjgl.system.Struct<OVRExternalCamera>
implements org.lwjgl.system.NativeResource
Layout
struct ovrExternalCamera {
char Name()[32];
ovrCameraIntrinsics Intrinsics;
ovrCameraExtrinsics Extrinsics;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionOVRExternalCamera(ByteBuffer container) Creates aOVRExternalCamerainstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic OVRExternalCameracalloc()Returns a newOVRExternalCamerainstance allocated withmemCalloc.static OVRExternalCamera.Buffercalloc(int capacity) Returns a newOVRExternalCamera.Bufferinstance allocated withmemCalloc.static OVRExternalCamera.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newOVRExternalCamera.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static OVRExternalCameracalloc(org.lwjgl.system.MemoryStack stack) Returns a newOVRExternalCamerainstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static OVRExternalCameraDeprecated.static OVRExternalCamera.BuffercallocStack(int capacity) Deprecated.static OVRExternalCamera.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static OVRExternalCameracallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.static OVRExternalCameracreate()Returns a newOVRExternalCamerainstance allocated withBufferUtils.static OVRExternalCamera.Buffercreate(int capacity) Returns a newOVRExternalCamera.Bufferinstance allocated withBufferUtils.static OVRExternalCameracreate(long address) Returns a newOVRExternalCamerainstance for the specified memory address.static OVRExternalCamera.Buffercreate(long address, int capacity) Create aOVRExternalCamera.Bufferinstance at the specified memory.static @Nullable OVRExternalCameracreateSafe(long address) static @Nullable OVRExternalCamera.BuffercreateSafe(long address, int capacity) static OVRExternalCameramalloc()Returns a newOVRExternalCamerainstance allocated withmemAlloc.static OVRExternalCamera.Buffermalloc(int capacity) Returns a newOVRExternalCamera.Bufferinstance allocated withmemAlloc.static OVRExternalCamera.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newOVRExternalCamera.Bufferinstance allocated on the specifiedMemoryStack.static OVRExternalCameramalloc(org.lwjgl.system.MemoryStack stack) Returns a newOVRExternalCamerainstance allocated on the specifiedMemoryStack.static OVRExternalCameraDeprecated.static OVRExternalCamera.BuffermallocStack(int capacity) Deprecated.static OVRExternalCamera.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.static OVRExternalCameramallocStack(org.lwjgl.system.MemoryStack stack) Deprecated.Name()camera identifier: vid + pid + serial number etc.camera identifier: vid + pid + serial number etc.static OVRCameraExtrinsicsnExtrinsics(long struct) Unsafe version ofExtrinsics().static OVRCameraIntrinsicsnIntrinsics(long struct) Unsafe version ofIntrinsics().static ByteBuffernName(long struct) Unsafe version ofName().static StringnNameString(long struct) Unsafe version ofNameString().intsizeof()Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
NAME
public static final int NAMEThe struct member offsets. -
INTRINSICS
public static final int INTRINSICSThe struct member offsets. -
EXTRINSICS
public static final int EXTRINSICSThe struct member offsets.
-
-
Constructor Details
-
OVRExternalCamera
Creates aOVRExternalCamerainstance 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 Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<OVRExternalCamera>
-
Name
camera identifier: vid + pid + serial number etc. -
NameString
camera identifier: vid + pid + serial number etc. -
Intrinsics
- Returns:
- a
OVRCameraIntrinsicsview of theIntrinsicsfield.
-
Extrinsics
- Returns:
- a
OVRCameraExtrinsicsview of theExtrinsicsfield.
-
malloc
Returns a newOVRExternalCamerainstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newOVRExternalCamerainstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newOVRExternalCamerainstance allocated withBufferUtils. -
create
Returns a newOVRExternalCamerainstance for the specified memory address. -
createSafe
-
malloc
Returns a newOVRExternalCamera.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newOVRExternalCamera.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newOVRExternalCamera.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aOVRExternalCamera.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
mallocStack
@Deprecated public static OVRExternalCamera.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
@Deprecated public static OVRExternalCamera.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
malloc
Returns a newOVRExternalCamerainstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newOVRExternalCamerainstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newOVRExternalCamera.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newOVRExternalCamera.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nName
Unsafe version ofName(). -
nNameString
Unsafe version ofNameString(). -
nIntrinsics
Unsafe version ofIntrinsics(). -
nExtrinsics
Unsafe version ofExtrinsics().
-