Package org.lwjgl.ovr
Class OVRLayerEyeFovMultires
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.ovr.OVRLayerEyeFovMultires
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class OVRLayerEyeFovMultires extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Describes a layer that specifies a monoscopic or stereoscopic view with support for optional multiresolution textures. This struct is the same asOVRLayerEyeFov
plus texture layout parameters.Three options exist with respect to mono/stereo texture usage:
ColorTexture[0]
andColorTexture[1]
contain the left and right stereo renderings, respectively.Viewport[0]
andViewport[1]
refer toColorTexture[0]
andColorTexture[1]
, respectively.ColorTexture[0]
contains both the left and right renderings,ColorTexture[1]
isNULL
, andViewport[0]
andViewport[1]
refer to sub-rects withColorTexture[0]
.ColorTexture[0]
contains a single monoscopic rendering, andViewport[0]
andViewport[1]
both refer to that rendering.
Member documentation
Header
–Header.Type
must beLayerType_EyeFovMultires
ColorTexture[ovrEye_Count]
–ovrTextureSwapChains
for the left and right eye respectively. The second one of which can beNULL
for cases described above.Viewport[ovrEye_Count]
– specifies the ColorTexture sub-rect UV coordinates. BothViewport[0]
andViewport[1]
must be valid.Fov[ovrEye_Count]
– the viewport field of viewRenderPose[ovrEye_Count]
– specifies the position and orientation of each eye view, with position specified in meters.RenderPose
will typically be the value returned from_CalcEyePoses
, but can be different in special cases if a different head pose is used for rendering.SensorSampleTime
– specifies the timestamp when the sourceOVRPosef
(used in calculatingRenderPose
) was sampled from the SDK. Typically retrieved by callingGetTimeInSeconds
around the instant the application callsGetTrackingState
. The main purpose for this is to accurately track app tracking latency.TextureLayout
– specifies layout type of texturesTextureLayoutDesc
– specifies texture layout parameters
Layout
struct ovrLayerEyeFovMultires {
ovrLayerHeader
Header; ovrTextureSwapChain ColorTexture[ovrEye_Count];ovrRecti
Viewport[ovrEye_Count];ovrFovPort
Fov[ovrEye_Count];ovrPosef
RenderPose[ovrEye_Count]; double SensorSampleTime; ovrTextureLayout TextureLayout;ovrTextureLayoutDesc_Union
TextureLayoutDesc; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OVRLayerEyeFovMultires.Buffer
An array ofOVRLayerEyeFovMultires
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
COLORTEXTURE
FOV
HEADER
RENDERPOSE
SENSORSAMPLETIMEThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
TEXTURELAYOUT
TEXTURELAYOUTDESC
VIEWPORTThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description OVRLayerEyeFovMultires(java.nio.ByteBuffer container)
Creates aOVRLayerEyeFovMultires
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 OVRLayerEyeFovMultires
calloc()
Returns a newOVRLayerEyeFovMultires
instance allocated withmemCalloc
.static OVRLayerEyeFovMultires.Buffer
calloc(int capacity)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated withmemCalloc
.static OVRLayerEyeFovMultires
callocStack()
Returns a newOVRLayerEyeFovMultires
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static OVRLayerEyeFovMultires.Buffer
callocStack(int capacity)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static OVRLayerEyeFovMultires.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static OVRLayerEyeFovMultires
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovMultires
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.org.lwjgl.PointerBuffer
ColorTexture()
Returns aPointerBuffer
view of theColorTexture
field.long
ColorTexture(int index)
Returns the value at the specified index of theColorTexture
field.OVRLayerEyeFovMultires
ColorTexture(int index, long value)
Sets the specified value at the specified index of theColorTexture
field.OVRLayerEyeFovMultires
ColorTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBuffer
to theColorTexture
field.static OVRLayerEyeFovMultires
create()
Returns a newOVRLayerEyeFovMultires
instance allocated withBufferUtils
.static OVRLayerEyeFovMultires.Buffer
create(int capacity)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated withBufferUtils
.static OVRLayerEyeFovMultires
create(long address)
Returns a newOVRLayerEyeFovMultires
instance for the specified memory address.static OVRLayerEyeFovMultires.Buffer
create(long address, int capacity)
Create aOVRLayerEyeFovMultires.Buffer
instance at the specified memory.static OVRLayerEyeFovMultires
createSafe(long address)
static OVRLayerEyeFovMultires.Buffer
createSafe(long address, int capacity)
OVRFovPort.Buffer
Fov()
Returns aOVRFovPort
.Buffer view of theFov
field.OVRFovPort
Fov(int index)
Returns aOVRFovPort
view of the struct at the specified index of theFov
field.OVRLayerEyeFovMultires
Fov(int index, java.util.function.Consumer<OVRFovPort> consumer)
Passes the element atindex
of theFov
field to the specifiedConsumer
.OVRLayerEyeFovMultires
Fov(int index, OVRFovPort value)
Copies the specifiedOVRFovPort
at the specified index of theFov
field.OVRLayerEyeFovMultires
Fov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)
Passes theFov
field to the specifiedConsumer
.OVRLayerEyeFovMultires
Fov(OVRFovPort.Buffer value)
Copies the specifiedOVRFovPort.Buffer
to theFov
field.OVRLayerHeader
Header()
Returns aOVRLayerHeader
view of theHeader
field.OVRLayerEyeFovMultires
Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theHeader
field to the specifiedConsumer
.OVRLayerEyeFovMultires
Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeader
to theHeader
field.static OVRLayerEyeFovMultires
malloc()
Returns a newOVRLayerEyeFovMultires
instance allocated withmemAlloc
.static OVRLayerEyeFovMultires.Buffer
malloc(int capacity)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated withmemAlloc
.static OVRLayerEyeFovMultires
mallocStack()
Returns a newOVRLayerEyeFovMultires
instance allocated on the thread-localMemoryStack
.static OVRLayerEyeFovMultires.Buffer
mallocStack(int capacity)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated on the thread-localMemoryStack
.static OVRLayerEyeFovMultires.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated on the specifiedMemoryStack
.static OVRLayerEyeFovMultires
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovMultires
instance allocated on the specifiedMemoryStack
.static org.lwjgl.PointerBuffer
nColorTexture(long struct)
Unsafe version ofColorTexture()
.static long
nColorTexture(long struct, int index)
Unsafe version ofColorTexture
.static void
nColorTexture(long struct, int index, long value)
Unsafe version ofColorTexture
.static void
nColorTexture(long struct, org.lwjgl.PointerBuffer value)
Unsafe version ofColorTexture
.static OVRFovPort.Buffer
nFov(long struct)
Unsafe version ofFov()
.static OVRFovPort
nFov(long struct, int index)
Unsafe version ofFov
.static void
nFov(long struct, int index, OVRFovPort value)
Unsafe version ofFov
.static void
nFov(long struct, OVRFovPort.Buffer value)
Unsafe version ofFov
.static OVRLayerHeader
nHeader(long struct)
Unsafe version ofHeader()
.static void
nHeader(long struct, OVRLayerHeader value)
Unsafe version ofHeader
.static OVRPosef.Buffer
nRenderPose(long struct)
Unsafe version ofRenderPose()
.static OVRPosef
nRenderPose(long struct, int index)
Unsafe version ofRenderPose
.static void
nRenderPose(long struct, int index, OVRPosef value)
Unsafe version ofRenderPose
.static void
nRenderPose(long struct, OVRPosef.Buffer value)
Unsafe version ofRenderPose
.static double
nSensorSampleTime(long struct)
Unsafe version ofSensorSampleTime()
.static void
nSensorSampleTime(long struct, double value)
Unsafe version ofSensorSampleTime
.static int
nTextureLayout(long struct)
Unsafe version ofTextureLayout()
.static void
nTextureLayout(long struct, int value)
Unsafe version ofTextureLayout
.static OVRTextureLayoutDescUnion
nTextureLayoutDesc(long struct)
Unsafe version ofTextureLayoutDesc()
.static void
nTextureLayoutDesc(long struct, OVRTextureLayoutDescUnion value)
Unsafe version ofTextureLayoutDesc
.static OVRRecti.Buffer
nViewport(long struct)
Unsafe version ofViewport()
.static OVRRecti
nViewport(long struct, int index)
Unsafe version ofViewport
.static void
nViewport(long struct, int index, OVRRecti value)
Unsafe version ofViewport
.static void
nViewport(long struct, OVRRecti.Buffer value)
Unsafe version ofViewport
.OVRPosef.Buffer
RenderPose()
Returns aOVRPosef
.Buffer view of theRenderPose
field.OVRPosef
RenderPose(int index)
Returns aOVRPosef
view of the struct at the specified index of theRenderPose
field.OVRLayerEyeFovMultires
RenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)
Passes the element atindex
of theRenderPose
field to the specifiedConsumer
.OVRLayerEyeFovMultires
RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosef
at the specified index of theRenderPose
field.OVRLayerEyeFovMultires
RenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)
Passes theRenderPose
field to the specifiedConsumer
.OVRLayerEyeFovMultires
RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Buffer
to theRenderPose
field.double
SensorSampleTime()
Returns the value of theSensorSampleTime
field.OVRLayerEyeFovMultires
SensorSampleTime(double value)
Sets the specified value to theSensorSampleTime
field.OVRLayerEyeFovMultires
set(OVRLayerEyeFovMultires src)
Copies the specified struct data to this struct.OVRLayerEyeFovMultires
set(OVRLayerHeader Header, org.lwjgl.PointerBuffer ColorTexture, OVRRecti.Buffer Viewport, OVRFovPort.Buffer Fov, OVRPosef.Buffer RenderPose, double SensorSampleTime, int TextureLayout, OVRTextureLayoutDescUnion TextureLayoutDesc)
Initializes this struct with the specified values.int
sizeof()
int
TextureLayout()
Returns the value of theTextureLayout
field.OVRLayerEyeFovMultires
TextureLayout(int value)
Sets the specified value to theTextureLayout
field.OVRTextureLayoutDescUnion
TextureLayoutDesc()
Returns aOVRTextureLayoutDescUnion
view of theTextureLayoutDesc
field.OVRLayerEyeFovMultires
TextureLayoutDesc(java.util.function.Consumer<OVRTextureLayoutDescUnion> consumer)
Passes theTextureLayoutDesc
field to the specifiedConsumer
.OVRLayerEyeFovMultires
TextureLayoutDesc(OVRTextureLayoutDescUnion value)
Copies the specifiedOVRTextureLayoutDescUnion
to theTextureLayoutDesc
field.static void
validate(long struct)
Validates pointer members that should not beNULL
.static void
validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.OVRRecti.Buffer
Viewport()
Returns aOVRRecti
.Buffer view of theViewport
field.OVRRecti
Viewport(int index)
Returns aOVRRecti
view of the struct at the specified index of theViewport
field.OVRLayerEyeFovMultires
Viewport(int index, java.util.function.Consumer<OVRRecti> consumer)
Passes the element atindex
of theViewport
field to the specifiedConsumer
.OVRLayerEyeFovMultires
Viewport(int index, OVRRecti value)
Copies the specifiedOVRRecti
at the specified index of theViewport
field.OVRLayerEyeFovMultires
Viewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)
Passes theViewport
field to the specifiedConsumer
.OVRLayerEyeFovMultires
Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Buffer
to theViewport
field.
-
-
-
Constructor Detail
-
OVRLayerEyeFovMultires
public OVRLayerEyeFovMultires(java.nio.ByteBuffer container)
Creates aOVRLayerEyeFovMultires
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
-
Header
public OVRLayerHeader Header()
Returns aOVRLayerHeader
view of theHeader
field.
-
ColorTexture
public org.lwjgl.PointerBuffer ColorTexture()
Returns aPointerBuffer
view of theColorTexture
field.
-
ColorTexture
public long ColorTexture(int index)
Returns the value at the specified index of theColorTexture
field.
-
Viewport
public OVRRecti.Buffer Viewport()
Returns aOVRRecti
.Buffer view of theViewport
field.
-
Viewport
public OVRRecti Viewport(int index)
Returns aOVRRecti
view of the struct at the specified index of theViewport
field.
-
Fov
public OVRFovPort.Buffer Fov()
Returns aOVRFovPort
.Buffer view of theFov
field.
-
Fov
public OVRFovPort Fov(int index)
Returns aOVRFovPort
view of the struct at the specified index of theFov
field.
-
RenderPose
public OVRPosef.Buffer RenderPose()
Returns aOVRPosef
.Buffer view of theRenderPose
field.
-
RenderPose
public OVRPosef RenderPose(int index)
Returns aOVRPosef
view of the struct at the specified index of theRenderPose
field.
-
SensorSampleTime
public double SensorSampleTime()
Returns the value of theSensorSampleTime
field.
-
TextureLayout
public int TextureLayout()
Returns the value of theTextureLayout
field.
-
TextureLayoutDesc
public OVRTextureLayoutDescUnion TextureLayoutDesc()
Returns aOVRTextureLayoutDescUnion
view of theTextureLayoutDesc
field.
-
Header
public OVRLayerEyeFovMultires Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeader
to theHeader
field.
-
Header
public OVRLayerEyeFovMultires Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theHeader
field to the specifiedConsumer
.
-
ColorTexture
public OVRLayerEyeFovMultires ColorTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBuffer
to theColorTexture
field.
-
ColorTexture
public OVRLayerEyeFovMultires ColorTexture(int index, long value)
Sets the specified value at the specified index of theColorTexture
field.
-
Viewport
public OVRLayerEyeFovMultires Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Buffer
to theViewport
field.
-
Viewport
public OVRLayerEyeFovMultires Viewport(int index, OVRRecti value)
Copies the specifiedOVRRecti
at the specified index of theViewport
field.
-
Viewport
public OVRLayerEyeFovMultires Viewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)
Passes theViewport
field to the specifiedConsumer
.
-
Viewport
public OVRLayerEyeFovMultires Viewport(int index, java.util.function.Consumer<OVRRecti> consumer)
Passes the element atindex
of theViewport
field to the specifiedConsumer
.
-
Fov
public OVRLayerEyeFovMultires Fov(OVRFovPort.Buffer value)
Copies the specifiedOVRFovPort.Buffer
to theFov
field.
-
Fov
public OVRLayerEyeFovMultires Fov(int index, OVRFovPort value)
Copies the specifiedOVRFovPort
at the specified index of theFov
field.
-
Fov
public OVRLayerEyeFovMultires Fov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)
Passes theFov
field to the specifiedConsumer
.
-
Fov
public OVRLayerEyeFovMultires Fov(int index, java.util.function.Consumer<OVRFovPort> consumer)
Passes the element atindex
of theFov
field to the specifiedConsumer
.
-
RenderPose
public OVRLayerEyeFovMultires RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Buffer
to theRenderPose
field.
-
RenderPose
public OVRLayerEyeFovMultires RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosef
at the specified index of theRenderPose
field.
-
RenderPose
public OVRLayerEyeFovMultires RenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)
Passes theRenderPose
field to the specifiedConsumer
.
-
RenderPose
public OVRLayerEyeFovMultires RenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)
Passes the element atindex
of theRenderPose
field to the specifiedConsumer
.
-
SensorSampleTime
public OVRLayerEyeFovMultires SensorSampleTime(double value)
Sets the specified value to theSensorSampleTime
field.
-
TextureLayout
public OVRLayerEyeFovMultires TextureLayout(int value)
Sets the specified value to theTextureLayout
field.
-
TextureLayoutDesc
public OVRLayerEyeFovMultires TextureLayoutDesc(OVRTextureLayoutDescUnion value)
Copies the specifiedOVRTextureLayoutDescUnion
to theTextureLayoutDesc
field.
-
TextureLayoutDesc
public OVRLayerEyeFovMultires TextureLayoutDesc(java.util.function.Consumer<OVRTextureLayoutDescUnion> consumer)
Passes theTextureLayoutDesc
field to the specifiedConsumer
.
-
set
public OVRLayerEyeFovMultires set(OVRLayerHeader Header, org.lwjgl.PointerBuffer ColorTexture, OVRRecti.Buffer Viewport, OVRFovPort.Buffer Fov, OVRPosef.Buffer RenderPose, double SensorSampleTime, int TextureLayout, OVRTextureLayoutDescUnion TextureLayoutDesc)
Initializes this struct with the specified values.
-
set
public OVRLayerEyeFovMultires set(OVRLayerEyeFovMultires src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static OVRLayerEyeFovMultires malloc()
Returns a newOVRLayerEyeFovMultires
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static OVRLayerEyeFovMultires calloc()
Returns a newOVRLayerEyeFovMultires
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static OVRLayerEyeFovMultires create()
Returns a newOVRLayerEyeFovMultires
instance allocated withBufferUtils
.
-
create
public static OVRLayerEyeFovMultires create(long address)
Returns a newOVRLayerEyeFovMultires
instance for the specified memory address.
-
createSafe
@Nullable public static OVRLayerEyeFovMultires createSafe(long address)
-
malloc
public static OVRLayerEyeFovMultires.Buffer malloc(int capacity)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static OVRLayerEyeFovMultires.Buffer calloc(int capacity)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static OVRLayerEyeFovMultires.Buffer create(int capacity)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static OVRLayerEyeFovMultires.Buffer create(long address, int capacity)
Create aOVRLayerEyeFovMultires.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static OVRLayerEyeFovMultires.Buffer createSafe(long address, int capacity)
-
mallocStack
public static OVRLayerEyeFovMultires mallocStack()
Returns a newOVRLayerEyeFovMultires
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static OVRLayerEyeFovMultires callocStack()
Returns a newOVRLayerEyeFovMultires
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static OVRLayerEyeFovMultires mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovMultires
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static OVRLayerEyeFovMultires callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovMultires
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static OVRLayerEyeFovMultires.Buffer mallocStack(int capacity)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static OVRLayerEyeFovMultires.Buffer callocStack(int capacity)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static OVRLayerEyeFovMultires.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static OVRLayerEyeFovMultires.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovMultires.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
nHeader
public static OVRLayerHeader nHeader(long struct)
Unsafe version ofHeader()
.
-
nColorTexture
public static org.lwjgl.PointerBuffer nColorTexture(long struct)
Unsafe version ofColorTexture()
.
-
nColorTexture
public static long nColorTexture(long struct, int index)
Unsafe version ofColorTexture
.
-
nViewport
public static OVRRecti.Buffer nViewport(long struct)
Unsafe version ofViewport()
.
-
nFov
public static OVRFovPort.Buffer nFov(long struct)
Unsafe version ofFov()
.
-
nFov
public static OVRFovPort nFov(long struct, int index)
Unsafe version ofFov
.
-
nRenderPose
public static OVRPosef.Buffer nRenderPose(long struct)
Unsafe version ofRenderPose()
.
-
nRenderPose
public static OVRPosef nRenderPose(long struct, int index)
Unsafe version ofRenderPose
.
-
nSensorSampleTime
public static double nSensorSampleTime(long struct)
Unsafe version ofSensorSampleTime()
.
-
nTextureLayout
public static int nTextureLayout(long struct)
Unsafe version ofTextureLayout()
.
-
nTextureLayoutDesc
public static OVRTextureLayoutDescUnion nTextureLayoutDesc(long struct)
Unsafe version ofTextureLayoutDesc()
.
-
nHeader
public static void nHeader(long struct, OVRLayerHeader value)
Unsafe version ofHeader
.
-
nColorTexture
public static void nColorTexture(long struct, org.lwjgl.PointerBuffer value)
Unsafe version ofColorTexture
.
-
nColorTexture
public static void nColorTexture(long struct, int index, long value)
Unsafe version ofColorTexture
.
-
nViewport
public static void nViewport(long struct, OVRRecti.Buffer value)
Unsafe version ofViewport
.
-
nViewport
public static void nViewport(long struct, int index, OVRRecti value)
Unsafe version ofViewport
.
-
nFov
public static void nFov(long struct, OVRFovPort.Buffer value)
Unsafe version ofFov
.
-
nFov
public static void nFov(long struct, int index, OVRFovPort value)
Unsafe version ofFov
.
-
nRenderPose
public static void nRenderPose(long struct, OVRPosef.Buffer value)
Unsafe version ofRenderPose
.
-
nRenderPose
public static void nRenderPose(long struct, int index, OVRPosef value)
Unsafe version ofRenderPose
.
-
nSensorSampleTime
public static void nSensorSampleTime(long struct, double value)
Unsafe version ofSensorSampleTime
.
-
nTextureLayout
public static void nTextureLayout(long struct, int value)
Unsafe version ofTextureLayout
.
-
nTextureLayoutDesc
public static void nTextureLayoutDesc(long struct, OVRTextureLayoutDescUnion value)
Unsafe version ofTextureLayoutDesc
.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-
validate
public static void validate(long array, int count)
Callsvalidate(long)
for each struct contained in the specified struct array.- Parameters:
array
- the struct array to validatecount
- the number of structs inarray
-
-