Package org.lwjgl.ovr
Class OVRLayerEyeFovDepth
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.ovr.OVRLayerEyeFovDepth
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class OVRLayerEyeFovDepth extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceDescribes a layer that specifies a monoscopic or stereoscopic view, with depth textures in addition to color textures. This is typically used to support positional time warp. This struct is the same asOVRLayerEyeFov, but with the addition ofDepthTextureandProjectionDesc.ProjectionDesccan be created usingTimewarpProjectionDesc_FromProjection.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.
Layout
struct ovrLayerEyeFovDepth {ovrLayerHeaderHeader(); ovrTextureSwapChainColorTexture()[ovrEye_Count];ovrRectiViewport()[ovrEye_Count];ovrFovPortFov()[ovrEye_Count];ovrPosefRenderPose()[ovrEye_Count]; doubleSensorSampleTime(); ovrTextureSwapChainDepthTexture()[ovrEye_Count];ovrTimewarpProjectionDescProjectionDesc(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOVRLayerEyeFovDepth.BufferAn array ofOVRLayerEyeFovDepthstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCOLORTEXTURE
DEPTHTEXTURE
FOV
HEADER
PROJECTIONDESC
RENDERPOSE
SENSORSAMPLETIMEThe struct member offsets.static intSIZEOFThe struct size in bytes.static intVIEWPORTThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description OVRLayerEyeFovDepth(java.nio.ByteBuffer container)Creates aOVRLayerEyeFovDepthinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OVRLayerEyeFovDepthcalloc()Returns a newOVRLayerEyeFovDepthinstance allocated withmemCalloc.static OVRLayerEyeFovDepth.Buffercalloc(int capacity)Returns a newOVRLayerEyeFovDepth.Bufferinstance allocated withmemCalloc.static OVRLayerEyeFovDepth.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newOVRLayerEyeFovDepth.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static OVRLayerEyeFovDepthcalloc(org.lwjgl.system.MemoryStack stack)Returns a newOVRLayerEyeFovDepthinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static OVRLayerEyeFovDepthcallocStack()Deprecated.static OVRLayerEyeFovDepth.BuffercallocStack(int capacity)Deprecated.static OVRLayerEyeFovDepth.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static OVRLayerEyeFovDepthcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.org.lwjgl.PointerBufferColorTexture()ovrTextureSwapChainsfor the left and right eye respectively.longColorTexture(int index)ovrTextureSwapChainsfor the left and right eye respectively.OVRLayerEyeFovDepthColorTexture(int index, long value)Sets the specified value at the specified index of theColorTexture()field.OVRLayerEyeFovDepthColorTexture(org.lwjgl.PointerBuffer value)Copies the specifiedPointerBufferto theColorTexture()field.static OVRLayerEyeFovDepthcreate()Returns a newOVRLayerEyeFovDepthinstance allocated withBufferUtils.static OVRLayerEyeFovDepth.Buffercreate(int capacity)Returns a newOVRLayerEyeFovDepth.Bufferinstance allocated withBufferUtils.static OVRLayerEyeFovDepthcreate(long address)Returns a newOVRLayerEyeFovDepthinstance for the specified memory address.static OVRLayerEyeFovDepth.Buffercreate(long address, int capacity)Create aOVRLayerEyeFovDepth.Bufferinstance at the specified memory.static OVRLayerEyeFovDepthcreateSafe(long address)static OVRLayerEyeFovDepth.BuffercreateSafe(long address, int capacity)org.lwjgl.PointerBufferDepthTexture()depth texture for depth composition with overlays.longDepthTexture(int index)depth texture for depth composition with overlays.OVRLayerEyeFovDepthDepthTexture(int index, long value)Sets the specified value at the specified index of theDepthTexture()field.OVRLayerEyeFovDepthDepthTexture(org.lwjgl.PointerBuffer value)Copies the specifiedPointerBufferto theDepthTexture()field.OVRFovPort.BufferFov()the viewport field of viewOVRFovPortFov(int index)the viewport field of viewOVRLayerEyeFovDepthFov(int index, java.util.function.Consumer<OVRFovPort> consumer)OVRLayerEyeFovDepthFov(int index, OVRFovPort value)Copies the specifiedOVRFovPortat the specified index of theFov()field.OVRLayerEyeFovDepthFov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)Passes theFov()field to the specifiedConsumer.OVRLayerEyeFovDepthFov(OVRFovPort.Buffer value)Copies the specifiedOVRFovPort.Bufferto theFov()field.OVRLayerHeaderHeader()Header.Typemust beLayerType_EyeFovDepthOVRLayerEyeFovDepthHeader(java.util.function.Consumer<OVRLayerHeader> consumer)Passes theHeader()field to the specifiedConsumer.OVRLayerEyeFovDepthHeader(OVRLayerHeader value)Copies the specifiedOVRLayerHeaderto theHeader()field.static OVRLayerEyeFovDepthmalloc()Returns a newOVRLayerEyeFovDepthinstance allocated withmemAlloc.static OVRLayerEyeFovDepth.Buffermalloc(int capacity)Returns a newOVRLayerEyeFovDepth.Bufferinstance allocated withmemAlloc.static OVRLayerEyeFovDepth.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newOVRLayerEyeFovDepth.Bufferinstance allocated on the specifiedMemoryStack.static OVRLayerEyeFovDepthmalloc(org.lwjgl.system.MemoryStack stack)Returns a newOVRLayerEyeFovDepthinstance allocated on the specifiedMemoryStack.static OVRLayerEyeFovDepthmallocStack()Deprecated.static OVRLayerEyeFovDepth.BuffermallocStack(int capacity)Deprecated.static OVRLayerEyeFovDepth.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static OVRLayerEyeFovDepthmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.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 org.lwjgl.PointerBuffernDepthTexture(long struct)Unsafe version ofDepthTexture().static longnDepthTexture(long struct, int index)Unsafe version ofDepthTexture.static voidnDepthTexture(long struct, int index, long value)Unsafe version ofDepthTexture.static voidnDepthTexture(long struct, org.lwjgl.PointerBuffer value)Unsafe version ofDepthTexture.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 OVRTimewarpProjectionDescnProjectionDesc(long struct)Unsafe version ofProjectionDesc().static voidnProjectionDesc(long struct, OVRTimewarpProjectionDesc value)Unsafe version ofProjectionDesc.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 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.OVRTimewarpProjectionDescProjectionDesc()specifies how to convertDepthTextureinformation into metersOVRLayerEyeFovDepthProjectionDesc(OVRTimewarpProjectionDesc value)Copies the specifiedOVRTimewarpProjectionDescto theProjectionDesc()field.OVRPosef.BufferRenderPose()specifies the position and orientation of each eye view, with position specified in meters.OVRPosefRenderPose(int index)specifies the position and orientation of each eye view, with position specified in meters.OVRLayerEyeFovDepthRenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)OVRLayerEyeFovDepthRenderPose(int index, OVRPosef value)Copies the specifiedOVRPosefat the specified index of theRenderPose()field.OVRLayerEyeFovDepthRenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)Passes theRenderPose()field to the specifiedConsumer.OVRLayerEyeFovDepthRenderPose(OVRPosef.Buffer value)Copies the specifiedOVRPosef.Bufferto theRenderPose()field.doubleSensorSampleTime()specifies the timestamp when the sourceOVRPosef(used in calculatingRenderPose) was sampled from the SDK.OVRLayerEyeFovDepthSensorSampleTime(double value)Sets the specified value to theSensorSampleTime()field.OVRLayerEyeFovDepthset(OVRLayerEyeFovDepth src)Copies the specified struct data to this struct.OVRLayerEyeFovDepthset(OVRLayerHeader Header, org.lwjgl.PointerBuffer ColorTexture, OVRRecti.Buffer Viewport, OVRFovPort.Buffer Fov, OVRPosef.Buffer RenderPose, double SensorSampleTime, org.lwjgl.PointerBuffer DepthTexture, OVRTimewarpProjectionDesc ProjectionDesc)Initializes this struct with the specified values.intsizeof()static voidvalidate(long struct)Validates pointer members that should not beNULL.OVRRecti.BufferViewport()specifies theColorTexturesub-rect UV coordinates.OVRRectiViewport(int index)specifies theColorTexturesub-rect UV coordinates.OVRLayerEyeFovDepthViewport(int index, java.util.function.Consumer<OVRRecti> consumer)OVRLayerEyeFovDepthViewport(int index, OVRRecti value)Copies the specifiedOVRRectiat the specified index of theViewport()field.OVRLayerEyeFovDepthViewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)Passes theViewport()field to the specifiedConsumer.OVRLayerEyeFovDepthViewport(OVRRecti.Buffer value)Copies the specifiedOVRRecti.Bufferto theViewport()field.
-
-
-
Constructor Detail
-
OVRLayerEyeFovDepth
public OVRLayerEyeFovDepth(java.nio.ByteBuffer container)
Creates aOVRLayerEyeFovDepthinstance 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()
Header.Typemust beLayerType_EyeFovDepth
-
ColorTexture
public org.lwjgl.PointerBuffer ColorTexture() public long ColorTexture(int index)
ovrTextureSwapChainsfor the left and right eye respectively. The second one of which can beNULLfor cases described above.
-
Viewport
public OVRRecti.Buffer Viewport() public OVRRecti Viewport(int index)
specifies theColorTexturesub-rect UV coordinates. BothViewport[0]andViewport[1]must be valid.
-
Fov
public OVRFovPort.Buffer Fov() public OVRFovPort Fov(int index)
the viewport field of view
-
RenderPose
public OVRPosef.Buffer RenderPose() public OVRPosef RenderPose(int index)
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
public double 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.
-
DepthTexture
public org.lwjgl.PointerBuffer DepthTexture() public long DepthTexture(int index)
depth texture for depth composition with overlays. Must map 1:1 to theColorTexture.
-
ProjectionDesc
public OVRTimewarpProjectionDesc ProjectionDesc()
specifies how to convertDepthTextureinformation into meters
-
Header
public OVRLayerEyeFovDepth Header(OVRLayerHeader value)
Copies the specifiedOVRLayerHeaderto theHeader()field.
-
Header
public OVRLayerEyeFovDepth Header(java.util.function.Consumer<OVRLayerHeader> consumer)
Passes theHeader()field to the specifiedConsumer.
-
ColorTexture
public OVRLayerEyeFovDepth ColorTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBufferto theColorTexture()field.
-
ColorTexture
public OVRLayerEyeFovDepth ColorTexture(int index, long value)
Sets the specified value at the specified index of theColorTexture()field.
-
Viewport
public OVRLayerEyeFovDepth Viewport(OVRRecti.Buffer value)
Copies the specifiedOVRRecti.Bufferto theViewport()field.
-
Viewport
public OVRLayerEyeFovDepth Viewport(int index, OVRRecti value)
Copies the specifiedOVRRectiat the specified index of theViewport()field.
-
Viewport
public OVRLayerEyeFovDepth Viewport(java.util.function.Consumer<OVRRecti.Buffer> consumer)
Passes theViewport()field to the specifiedConsumer.
-
Viewport
public OVRLayerEyeFovDepth Viewport(int index, java.util.function.Consumer<OVRRecti> consumer)
-
Fov
public OVRLayerEyeFovDepth Fov(OVRFovPort.Buffer value)
Copies the specifiedOVRFovPort.Bufferto theFov()field.
-
Fov
public OVRLayerEyeFovDepth Fov(int index, OVRFovPort value)
Copies the specifiedOVRFovPortat the specified index of theFov()field.
-
Fov
public OVRLayerEyeFovDepth Fov(java.util.function.Consumer<OVRFovPort.Buffer> consumer)
Passes theFov()field to the specifiedConsumer.
-
Fov
public OVRLayerEyeFovDepth Fov(int index, java.util.function.Consumer<OVRFovPort> consumer)
-
RenderPose
public OVRLayerEyeFovDepth RenderPose(OVRPosef.Buffer value)
Copies the specifiedOVRPosef.Bufferto theRenderPose()field.
-
RenderPose
public OVRLayerEyeFovDepth RenderPose(int index, OVRPosef value)
Copies the specifiedOVRPosefat the specified index of theRenderPose()field.
-
RenderPose
public OVRLayerEyeFovDepth RenderPose(java.util.function.Consumer<OVRPosef.Buffer> consumer)
Passes theRenderPose()field to the specifiedConsumer.
-
RenderPose
public OVRLayerEyeFovDepth RenderPose(int index, java.util.function.Consumer<OVRPosef> consumer)
-
SensorSampleTime
public OVRLayerEyeFovDepth SensorSampleTime(double value)
Sets the specified value to theSensorSampleTime()field.
-
DepthTexture
public OVRLayerEyeFovDepth DepthTexture(org.lwjgl.PointerBuffer value)
Copies the specifiedPointerBufferto theDepthTexture()field.
-
DepthTexture
public OVRLayerEyeFovDepth DepthTexture(int index, long value)
Sets the specified value at the specified index of theDepthTexture()field.
-
ProjectionDesc
public OVRLayerEyeFovDepth ProjectionDesc(OVRTimewarpProjectionDesc value)
Copies the specifiedOVRTimewarpProjectionDescto theProjectionDesc()field.
-
set
public OVRLayerEyeFovDepth set(OVRLayerHeader Header, org.lwjgl.PointerBuffer ColorTexture, OVRRecti.Buffer Viewport, OVRFovPort.Buffer Fov, OVRPosef.Buffer RenderPose, double SensorSampleTime, org.lwjgl.PointerBuffer DepthTexture, OVRTimewarpProjectionDesc ProjectionDesc)
Initializes this struct with the specified values.
-
set
public OVRLayerEyeFovDepth set(OVRLayerEyeFovDepth src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static OVRLayerEyeFovDepth malloc()
Returns a newOVRLayerEyeFovDepthinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static OVRLayerEyeFovDepth calloc()
Returns a newOVRLayerEyeFovDepthinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static OVRLayerEyeFovDepth create()
Returns a newOVRLayerEyeFovDepthinstance allocated withBufferUtils.
-
create
public static OVRLayerEyeFovDepth create(long address)
Returns a newOVRLayerEyeFovDepthinstance for the specified memory address.
-
createSafe
@Nullable public static OVRLayerEyeFovDepth createSafe(long address)
-
malloc
public static OVRLayerEyeFovDepth.Buffer malloc(int capacity)
Returns a newOVRLayerEyeFovDepth.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static OVRLayerEyeFovDepth.Buffer calloc(int capacity)
Returns a newOVRLayerEyeFovDepth.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static OVRLayerEyeFovDepth.Buffer create(int capacity)
Returns a newOVRLayerEyeFovDepth.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static OVRLayerEyeFovDepth.Buffer create(long address, int capacity)
Create aOVRLayerEyeFovDepth.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static OVRLayerEyeFovDepth.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static OVRLayerEyeFovDepth mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static OVRLayerEyeFovDepth callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static OVRLayerEyeFovDepth mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static OVRLayerEyeFovDepth callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static OVRLayerEyeFovDepth.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static OVRLayerEyeFovDepth.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static OVRLayerEyeFovDepth.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 OVRLayerEyeFovDepth.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static OVRLayerEyeFovDepth malloc(org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovDepthinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static OVRLayerEyeFovDepth calloc(org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovDepthinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static OVRLayerEyeFovDepth.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovDepth.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static OVRLayerEyeFovDepth.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newOVRLayerEyeFovDepth.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().
-
nDepthTexture
public static org.lwjgl.PointerBuffer nDepthTexture(long struct)
Unsafe version ofDepthTexture().
-
nDepthTexture
public static long nDepthTexture(long struct, int index)Unsafe version ofDepthTexture.
-
nProjectionDesc
public static OVRTimewarpProjectionDesc nProjectionDesc(long struct)
Unsafe version ofProjectionDesc().
-
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.
-
nDepthTexture
public static void nDepthTexture(long struct, org.lwjgl.PointerBuffer value)Unsafe version ofDepthTexture.
-
nDepthTexture
public static void nDepthTexture(long struct, int index, long value)Unsafe version ofDepthTexture.
-
nProjectionDesc
public static void nProjectionDesc(long struct, OVRTimewarpProjectionDesc value)Unsafe version ofProjectionDesc.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-