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.NativeResourceDescribes a layer that specifies a monoscopic or stereoscopic view with support for optional multiresolution textures. This struct is the same asOVRLayerEyeFovplus 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.Typemust beLayerType_EyeFovMultiresColorTexture[ovrEye_Count]–ovrTextureSwapChainsfor the left and right eye respectively. The second one of which can beNULLfor 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.RenderPosewill 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 callingGetTimeInSecondsaround 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 {ovrLayerHeaderHeader; ovrTextureSwapChain ColorTexture[ovrEye_Count];ovrRectiViewport[ovrEye_Count];ovrFovPortFov[ovrEye_Count];ovrPosefRenderPose[ovrEye_Count]; double SensorSampleTime; ovrTextureLayout TextureLayout;ovrTextureLayoutDesc_UnionTextureLayoutDesc; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOVRLayerEyeFovMultires.BufferAn array ofOVRLayerEyeFovMultiresstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCOLORTEXTURE
FOV
HEADER
RENDERPOSE
SENSORSAMPLETIMEThe struct member offsets.static intSIZEOFThe struct size in bytes.static intTEXTURELAYOUT
TEXTURELAYOUTDESC
VIEWPORTThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description OVRLayerEyeFovMultires(java.nio.ByteBuffer container)Creates aOVRLayerEyeFovMultiresinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OVRLayerEyeFovMultirescalloc()Returns a newOVRLayerEyeFovMultiresinstance allocated withmemCalloc.static OVRLayerEyeFovMultires.Buffercalloc(int capacity)Returns a newOVRLayerEyeFovMultires.Bufferinstance allocated withmemCalloc.static OVRLayerEyeFovMultirescallocStack()Returns a newOVRLayerEyeFovMultiresinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static OVRLayerEyeFovMultires.BuffercallocStack(int capacity)Returns a newOVRLayerEyeFovMultires.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static OVRLayerEyeFovMultires.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newOVRLayerEyeFovMultires.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static OVRLayerEyeFovMultirescallocStack(org.lwjgl.system.MemoryStack stack)Returns a newOVRLayerEyeFovMultiresinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.org.lwjgl.PointerBufferColorTexture()Returns aPointerBufferview of theColorTexturefield.longColorTexture(int index)Returns the value at the specified index of theColorTexturefield.OVRLayerEyeFovMultiresColorTexture(int index, long value)Sets the specified value at the specified index of theColorTexturefield.OVRLayerEyeFovMultiresColorTexture(org.lwjgl.PointerBuffer value)Copies the specifiedPointerBufferto theColorTexturefield.static OVRLayerEyeFovMultirescreate()Returns a newOVRLayerEyeFovMultiresinstance allocated withBufferUtils.static OVRLayerEyeFovMultires.Buffercreate(int capacity)Returns a newOVRLayerEyeFovMultires.Bufferinstance allocated withBufferUtils.static OVRLayerEyeFovMultirescreate(long address)Returns a newOVRLayerEyeFovMultiresinstance for the specified memory address.static OVRLayerEyeFovMultires.Buffercreate(long address, int capacity)Create aOVRLayerEyeFovMultires.Bufferinstance at the specified memory.static OVRLayerEyeFovMultirescreateSafe(long address)static OVRLayerEyeFovMultires.BuffercreateSafe(long address, int capacity)OVRFovPort.BufferFov()Returns aOVRFovPort.Buffer view of theFovfield.OVRFovPortFov(int index)Returns aOVRFovPortview of the struct at the specified index of theFovfield.OVRLayerEyeFovMultiresFov(int index, java.util.function.Consumer<OVRFovPort> consumer)Passes the element atindexof theFovfield to the specifiedConsumer.OVRLayerEyeFovMultiresFov(int index, OVRFovPort value)Copies the specifiedOVRFovPortat the specified index of theFovfield.OVRLayerEyeFovMultiresFov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)Passes theFovfield to the specifiedConsumer.OVRLayerEyeFovMultiresFov(OVRFovPort.Buffer value)Copies the specifiedOVRFovPort.Bufferto theFovfield.OVRLayerHeaderHeader()Returns aOVRLayerHeaderview of theHeaderfield.OVRLayerEyeFovMultiresHeader(java.util.function.Consumer<OVRLayerHeader> consumer)Passes theHeaderfield to the specifiedConsumer.OVRLayerEyeFovMultiresHeader(OVRLayerHeader value)Copies the specifiedOVRLayerHeaderto theHeaderfield.static OVRLayerEyeFovMultiresmalloc()Returns a newOVRLayerEyeFovMultiresinstance allocated withmemAlloc.static OVRLayerEyeFovMultires.Buffermalloc(int capacity)Returns a newOVRLayerEyeFovMultires.Bufferinstance allocated withmemAlloc.static OVRLayerEyeFovMultiresmallocStack()Returns a newOVRLayerEyeFovMultiresinstance allocated on the thread-localMemoryStack.static OVRLayerEyeFovMultires.BuffermallocStack(int capacity)Returns a newOVRLayerEyeFovMultires.Bufferinstance allocated on the thread-localMemoryStack.static OVRLayerEyeFovMultires.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newOVRLayerEyeFovMultires.Bufferinstance allocated on the specifiedMemoryStack.static OVRLayerEyeFovMultiresmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newOVRLayerEyeFovMultiresinstance allocated on the specifiedMemoryStack.static org.lwjgl.PointerBuffernColorTexture(long struct)Unsafe version ofColorTexture().static longnColorTexture(long struct, int index)Unsafe version ofColorTexture.static voidnColorTexture(long struct, int index, long value)Unsafe version ofColorTexture.static voidnColorTexture(long struct, org.lwjgl.PointerBuffer value)Unsafe version ofColorTexture.static OVRFovPort.BuffernFov(long struct)Unsafe version ofFov().static OVRFovPortnFov(long struct, int index)Unsafe version ofFov.static voidnFov(long struct, int index, OVRFovPort value)Unsafe version ofFov.static voidnFov(long struct, OVRFovPort.Buffer value)Unsafe version ofFov.static OVRLayerHeadernHeader(long struct)Unsafe version ofHeader().static voidnHeader(long struct, OVRLayerHeader value)Unsafe version ofHeader.static OVRPosef.BuffernRenderPose(long struct)Unsafe version ofRenderPose().static OVRPosefnRenderPose(long struct, int index)Unsafe version ofRenderPose.static voidnRenderPose(long struct, int index, OVRPosef value)Unsafe version ofRenderPose.static voidnRenderPose(long struct, OVRPosef.Buffer value)Unsafe version ofRenderPose.static doublenSensorSampleTime(long struct)Unsafe version ofSensorSampleTime().static voidnSensorSampleTime(long struct, double value)Unsafe version ofSensorSampleTime.static intnTextureLayout(long struct)Unsafe version ofTextureLayout().static voidnTextureLayout(long struct, int value)Unsafe version ofTextureLayout.static OVRTextureLayoutDescUnionnTextureLayoutDesc(long struct)Unsafe version ofTextureLayoutDesc().static voidnTextureLayoutDesc(long struct, OVRTextureLayoutDescUnion value)Unsafe version ofTextureLayoutDesc.static OVRRecti.BuffernViewport(long struct)Unsafe version ofViewport().static OVRRectinViewport(long struct, int index)Unsafe version ofViewport.static voidnViewport(long struct, int index, OVRRecti value)Unsafe version ofViewport.static voidnViewport(long struct, OVRRecti.Buffer value)Unsafe version ofViewport.OVRPosef.BufferRenderPose()Returns aOVRPosef.Buffer view of theRenderPosefield.OVRPosefRenderPose(int index)Returns aOVRPosefview of the struct at the specified index of theRenderPosefield.OVRLayerEyeFovMultiresRenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)Passes the element atindexof theRenderPosefield to the specifiedConsumer.OVRLayerEyeFovMultiresRenderPose(int index, OVRPosef value)Copies the specifiedOVRPosefat the specified index of theRenderPosefield.OVRLayerEyeFovMultiresRenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)Passes theRenderPosefield to the specifiedConsumer.OVRLayerEyeFovMultiresRenderPose(OVRPosef.Buffer value)Copies the specifiedOVRPosef.Bufferto theRenderPosefield.doubleSensorSampleTime()Returns the value of theSensorSampleTimefield.OVRLayerEyeFovMultiresSensorSampleTime(double value)Sets the specified value to theSensorSampleTimefield.OVRLayerEyeFovMultiresset(OVRLayerEyeFovMultires src)Copies the specified struct data to this struct.OVRLayerEyeFovMultiresset(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.intsizeof()intTextureLayout()Returns the value of theTextureLayoutfield.OVRLayerEyeFovMultiresTextureLayout(int value)Sets the specified value to theTextureLayoutfield.OVRTextureLayoutDescUnionTextureLayoutDesc()Returns aOVRTextureLayoutDescUnionview of theTextureLayoutDescfield.OVRLayerEyeFovMultiresTextureLayoutDesc(java.util.function.Consumer<OVRTextureLayoutDescUnion> consumer)Passes theTextureLayoutDescfield to the specifiedConsumer.OVRLayerEyeFovMultiresTextureLayoutDesc(OVRTextureLayoutDescUnion value)Copies the specifiedOVRTextureLayoutDescUnionto theTextureLayoutDescfield.static voidvalidate(long struct)Validates pointer members that should not beNULL.static voidvalidate(long array, int count)Callsvalidate(long)for each struct contained in the specified struct array.OVRRecti.BufferViewport()Returns aOVRRecti.Buffer view of theViewportfield.OVRRectiViewport(int index)Returns aOVRRectiview of the struct at the specified index of theViewportfield.OVRLayerEyeFovMultiresViewport(int index, java.util.function.Consumer<OVRRecti> consumer)Passes the element atindexof theViewportfield to the specifiedConsumer.OVRLayerEyeFovMultiresViewport(int index, OVRRecti value)Copies the specifiedOVRRectiat the specified index of theViewportfield.OVRLayerEyeFovMultiresViewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)Passes theViewportfield to the specifiedConsumer.OVRLayerEyeFovMultiresViewport(OVRRecti.Buffer value)Copies the specifiedOVRRecti.Bufferto theViewportfield.
-
-
-
Constructor Detail
-
OVRLayerEyeFovMultires
public OVRLayerEyeFovMultires(java.nio.ByteBuffer container)
Creates aOVRLayerEyeFovMultiresinstance 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
-
Header
public OVRLayerHeader Header()
Returns aOVRLayerHeaderview of theHeaderfield.
-
ColorTexture
public org.lwjgl.PointerBuffer ColorTexture()
Returns aPointerBufferview of theColorTexturefield.
-
ColorTexture
public long ColorTexture(int index)
Returns the value at the specified index of theColorTexturefield.
-
Viewport
public OVRRecti.Buffer Viewport()
Returns aOVRRecti.Buffer view of theViewportfield.
-
Viewport
public OVRRecti Viewport(int index)
Returns aOVRRectiview of the struct at the specified index of theViewportfield.
-
Fov
public OVRFovPort.Buffer Fov()
Returns aOVRFovPort.Buffer view of theFovfield.
-
Fov
public OVRFovPort Fov(int index)
Returns aOVRFovPortview of the struct at the specified index of theFovfield.
-
RenderPose
public OVRPosef.Buffer RenderPose()
Returns aOVRPosef.Buffer view of theRenderPosefield.
-
RenderPose
public OVRPosef RenderPose(int index)
Returns aOVRPosefview of the struct at the specified index of theRenderPosefield.
-
SensorSampleTime
public double SensorSampleTime()
Returns the value of theSensorSampleTimefield.
-
TextureLayout
public int TextureLayout()
Returns the value of theTextureLayoutfield.
-
TextureLayoutDesc
public OVRTextureLayoutDescUnion TextureLayoutDesc()
Returns aOVRTextureLayoutDescUnionview of theTextureLayoutDescfield.
-
Header
public OVRLayerEyeFovMultires Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeaderto theHeaderfield.
-
Header
public OVRLayerEyeFovMultires Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theHeaderfield to the specifiedConsumer.
-
ColorTexture
public OVRLayerEyeFovMultires ColorTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBufferto theColorTexturefield.
-
ColorTexture
public OVRLayerEyeFovMultires ColorTexture(int index, long value)
Sets the specified value at the specified index of theColorTexturefield.
-
Viewport
public OVRLayerEyeFovMultires Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Bufferto theViewportfield.
-
Viewport
public OVRLayerEyeFovMultires Viewport(int index, OVRRecti value)
Copies the specifiedOVRRectiat the specified index of theViewportfield.
-
Viewport
public OVRLayerEyeFovMultires Viewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)
Passes theViewportfield to the specifiedConsumer.
-
Viewport
public OVRLayerEyeFovMultires Viewport(int index, java.util.function.Consumer<OVRRecti> consumer)
Passes the element atindexof theViewportfield to the specifiedConsumer.
-
Fov
public OVRLayerEyeFovMultires Fov(OVRFovPort.Buffer value)
Copies the specifiedOVRFovPort.Bufferto theFovfield.
-
Fov
public OVRLayerEyeFovMultires Fov(int index, OVRFovPort value)
Copies the specifiedOVRFovPortat the specified index of theFovfield.
-
Fov
public OVRLayerEyeFovMultires Fov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)
Passes theFovfield to the specifiedConsumer.
-
Fov
public OVRLayerEyeFovMultires Fov(int index, java.util.function.Consumer<OVRFovPort> consumer)
Passes the element atindexof theFovfield to the specifiedConsumer.
-
RenderPose
public OVRLayerEyeFovMultires RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Bufferto theRenderPosefield.
-
RenderPose
public OVRLayerEyeFovMultires RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosefat the specified index of theRenderPosefield.
-
RenderPose
public OVRLayerEyeFovMultires RenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)
Passes theRenderPosefield to the specifiedConsumer.
-
RenderPose
public OVRLayerEyeFovMultires RenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)
Passes the element atindexof theRenderPosefield to the specifiedConsumer.
-
SensorSampleTime
public OVRLayerEyeFovMultires SensorSampleTime(double value)
Sets the specified value to theSensorSampleTimefield.
-
TextureLayout
public OVRLayerEyeFovMultires TextureLayout(int value)
Sets the specified value to theTextureLayoutfield.
-
TextureLayoutDesc
public OVRLayerEyeFovMultires TextureLayoutDesc(OVRTextureLayoutDescUnion value)
Copies the specifiedOVRTextureLayoutDescUnionto theTextureLayoutDescfield.
-
TextureLayoutDesc
public OVRLayerEyeFovMultires TextureLayoutDesc(java.util.function.Consumer<OVRTextureLayoutDescUnion> consumer)
Passes theTextureLayoutDescfield 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 newOVRLayerEyeFovMultiresinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static OVRLayerEyeFovMultires calloc()
Returns a newOVRLayerEyeFovMultiresinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static OVRLayerEyeFovMultires create()
Returns a newOVRLayerEyeFovMultiresinstance allocated withBufferUtils.
-
create
public static OVRLayerEyeFovMultires create(long address)
Returns a newOVRLayerEyeFovMultiresinstance for the specified memory address.
-
createSafe
@Nullable public static OVRLayerEyeFovMultires createSafe(long address)
-
malloc
public static OVRLayerEyeFovMultires.Buffer malloc(int capacity)
Returns a newOVRLayerEyeFovMultires.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static OVRLayerEyeFovMultires.Buffer calloc(int capacity)
Returns a newOVRLayerEyeFovMultires.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static OVRLayerEyeFovMultires.Buffer create(int capacity)
Returns a newOVRLayerEyeFovMultires.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static OVRLayerEyeFovMultires.Buffer create(long address, int capacity)
Create aOVRLayerEyeFovMultires.Bufferinstance 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 newOVRLayerEyeFovMultiresinstance allocated on the thread-localMemoryStack.
-
callocStack
public static OVRLayerEyeFovMultires callocStack()
Returns a newOVRLayerEyeFovMultiresinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static OVRLayerEyeFovMultires mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovMultiresinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static OVRLayerEyeFovMultires callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovMultiresinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static OVRLayerEyeFovMultires.Buffer callocStack(int capacity)
Returns a newOVRLayerEyeFovMultires.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand 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
-
-