OVRLayerEyeFov, but with the addition of DepthTexture and ProjectionDesc.
ProjectionDesc can be created using TimewarpProjectionDesc_FromProjection.
Three options exist with respect to mono/stereo texture usage:
ColorTexture[0] and ColorTexture[1] contain the left and right stereo renderings, respectively. Viewport[0] and
Viewport[1] refer to ColorTexture[0] and ColorTexture[1], respectively.ColorTexture[0] contains both the left and right renderings, ColorTexture[1] is NULL, and Viewport[0] and
Viewport[1] refer to sub-rects with ColorTexture[0].ColorTexture[0] contains a single monoscopic rendering, and Viewport[0] and Viewport[1] both refer to that rendering.
struct ovrLayerEyeFovDepth {
ovrLayerHeader Header;
ovrTextureSwapChain ColorTexture[ovrEye_Count];
ovrRecti Viewport[ovrEye_Count];
ovrFovPort Fov[ovrEye_Count];
ovrPosef RenderPose[ovrEye_Count];
double SensorSampleTime;
ovrTextureSwapChain DepthTexture[ovrEye_Count];
ovrTimewarpProjectionDesc ProjectionDesc;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | OVRLayerEyeFovDepth.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COLORTEXTURE
The struct member offsets. |
| public static final int | DEPTHTEXTURE
The struct member offsets. |
| public static final int | FOV
The struct member offsets. |
| public static final int | HEADER
The struct member offsets. |
| public static final int | PROJECTIONDESC
The struct member offsets. |
| public static final int | RENDERPOSE
The struct member offsets. |
| public static final int | SENSORSAMPLETIME
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | VIEWPORT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | OVRLayerEyeFovDepth(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static OVRLayerEyeFovDepth | |
| public static OVRLayerEyeFovDepth. | calloc(int
the buffer capacity capacity)Returns a new |
| public static OVRLayerEyeFovDepth | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRLayerEyeFovDepth. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVRLayerEyeFovDepth | |
| public static OVRLayerEyeFovDepth | |
| public static OVRLayerEyeFovDepth. | |
| public static OVRLayerEyeFovDepth. | |
| public PointerBuffer | |
| public long | |
| public OVRLayerEyeFovDepth | |
| public OVRLayerEyeFovDepth | ColorTexture(int index, long value)
Sets the specified value at the specified index of the |
| protected OVRLayerEyeFovDepth | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static OVRLayerEyeFovDepth | |
| public static OVRLayerEyeFovDepth | |
| public static OVRLayerEyeFovDepth. | create(int
the buffer capacity capacity)Returns a new |
| public static OVRLayerEyeFovDepth. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static OVRLayerEyeFovDepth | |
| public static OVRLayerEyeFovDepth. | |
| public PointerBuffer | |
| public long | |
| public OVRLayerEyeFovDepth | |
| public OVRLayerEyeFovDepth | DepthTexture(int index, long value)
Sets the specified value at the specified index of the |
| public OVRFovPort. | |
| public OVRFovPort | |
| public OVRLayerEyeFovDepth | |
| public OVRLayerEyeFovDepth | Fov(int index, OVRFovPort value)
Copies the specified |
| public OVRLayerEyeFovDepth | |
| public OVRLayerEyeFovDepth | Fov(int index, Consumer<OVRFovPort> consumer)
Passes the element at |
| public OVRLayerHeader | |
| public OVRLayerEyeFovDepth | |
| public OVRLayerEyeFovDepth | |
| public static OVRLayerEyeFovDepth | |
| public static OVRLayerEyeFovDepth. | malloc(int
the buffer capacity capacity)Returns a new |
| public static OVRLayerEyeFovDepth | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRLayerEyeFovDepth. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVRLayerEyeFovDepth | |
| public static OVRLayerEyeFovDepth | |
| public static OVRLayerEyeFovDepth. | |
| public static OVRLayerEyeFovDepth. | |
| public static PointerBuffer | |
| public static long | |
| public static void | |
| public static void | |
| public static PointerBuffer | |
| public static long | |
| public static void | |
| public static void | |
| public static OVRFovPort. | |
| public static OVRFovPort | |
| public static void | |
| public static void | |
| public static OVRLayerHeader | |
| public static void | |
| public static OVRTimewarpProjectionDesc | |
| public static void | |
| public static OVRPosef. | |
| public static OVRPosef | |
| public static void | |
| public static void | |
| public static double | |
| public static void | |
| public static OVRRecti. | |
| public static OVRRecti | |
| public static void | |
| public static void | |
| public OVRTimewarpProjectionDesc | |
| public OVRLayerEyeFovDepth | ProjectionDesc(OVRTimewarpProjectionDesc value)
Copies the specified |
| public OVRPosef. | RenderPose()
specifies the position and orientation of each eye view, with position specified in meters. |
| public OVRPosef | RenderPose(int index)
specifies the position and orientation of each eye view, with position specified in meters. |
| public OVRLayerEyeFovDepth | |
| public OVRLayerEyeFovDepth | RenderPose(int index, OVRPosef value)
Copies the specified |
| public OVRLayerEyeFovDepth | RenderPose(Consumer<OVRPosef.
Passes the |
| public OVRLayerEyeFovDepth | RenderPose(int index, Consumer<OVRPosef> consumer)
Passes the element at |
| public double | SensorSampleTime()
specifies the timestamp when the source |
| public OVRLayerEyeFovDepth | |
| public OVRLayerEyeFovDepth | set(OVRLayerHeader Header, PointerBuffer ColorTexture, OVRRecti.
Initializes this struct with the specified values. |
| public OVRLayerEyeFovDepth | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void | |
| public OVRRecti. | |
| public OVRRecti | |
| public OVRLayerEyeFovDepth | |
| public OVRLayerEyeFovDepth | |
| public OVRLayerEyeFovDepth | |
| public OVRLayerEyeFovDepth |