GetRenderDesc based on the specified FOV. Note that the rendering viewport is not
included here as it can be specified separately and modified per frame by passing different viewport values in the layer structure.
struct ovrEyeRenderDesc {
ovrEyeType Eye;
ovrFovPort Fov;
ovrRecti DistortedViewport;
ovrVector2f PixelsPerTanAngleAtCenter;
ovrPosef HmdToEyePose;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | OVREyeRenderDesc.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DISTORTEDVIEWPORT
The struct member offsets. |
| public static final int | EYE
The struct member offsets. |
| public static final int | FOV
The struct member offsets. |
| public static final int | HMDTOEYEPOSE
The struct member offsets. |
| public static final int | PIXELSPERTANANGLEATCENTER
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | OVREyeRenderDesc(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static OVREyeRenderDesc | |
| public static OVREyeRenderDesc. | calloc(int
the buffer capacity capacity)Returns a new |
| public static OVREyeRenderDesc | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVREyeRenderDesc. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVREyeRenderDesc | |
| public static OVREyeRenderDesc | |
| public static OVREyeRenderDesc. | |
| public static OVREyeRenderDesc. | |
| protected OVREyeRenderDesc | 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 OVREyeRenderDesc | |
| public static OVREyeRenderDesc | |
| public static OVREyeRenderDesc. | create(int
the buffer capacity capacity)Returns a new |
| public static OVREyeRenderDesc. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static OVREyeRenderDesc | |
| public static OVREyeRenderDesc. | |
| public OVRRecti | |
| public int | |
| public OVRFovPort | |
| public OVRPosef | |
| public static OVREyeRenderDesc | |
| public static OVREyeRenderDesc. | malloc(int
the buffer capacity capacity)Returns a new |
| public static OVREyeRenderDesc | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVREyeRenderDesc. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVREyeRenderDesc | |
| public static OVREyeRenderDesc | |
| public static OVREyeRenderDesc. | |
| public static OVREyeRenderDesc. | |
| public static OVRRecti | |
| public static int | |
| public static OVRFovPort | |
| public static OVRPosef | |
| public static OVRVector2f | |
| public OVRVector2f | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DISTORTEDVIEWPORT | back to summary |
|---|---|
| public static final int DISTORTEDVIEWPORT The struct member offsets. | |
| EYE | back to summary |
|---|---|
| public static final int EYE The struct member offsets. | |
| FOV | back to summary |
|---|---|
| public static final int FOV The struct member offsets. | |
| HMDTOEYEPOSE | back to summary |
|---|---|
| public static final int HMDTOEYEPOSE The struct member offsets. | |
| PIXELSPERTANANGLEATCENTER | back to summary |
|---|---|
| public static final int PIXELSPERTANANGLEATCENTER The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| OVREyeRenderDesc | back to summary |
|---|---|
| protected OVREyeRenderDesc(long address, ByteBuffer container) | |
| OVREyeRenderDesc | back to summary |
|---|---|
| public OVREyeRenderDesc(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static OVREyeRenderDesc calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static OVREyeRenderDesc. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static OVREyeRenderDesc calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static OVREyeRenderDesc. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static OVREyeRenderDesc callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVREyeRenderDesc callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVREyeRenderDesc. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVREyeRenderDesc. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected OVREyeRenderDesc create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static OVREyeRenderDesc create() Returns a new | |
| create | back to summary |
|---|---|
| public static OVREyeRenderDesc create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static OVREyeRenderDesc. Returns a new
| |
| create | back to summary |
|---|---|
| public static OVREyeRenderDesc. Create a
| |
| createSafe | back to summary |
|---|---|
| public static OVREyeRenderDesc createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static OVREyeRenderDesc. Like
| |
| DistortedViewport | back to summary |
|---|---|
| public OVRRecti DistortedViewport() distortion viewport
| |
| Eye | back to summary | ||
|---|---|---|---|
| public int Eye() the eye index this instance corresponds to. One of:
| |||
| Fov | back to summary |
|---|---|
| public OVRFovPort Fov() the field of view
| |
| HmdToEyePose | back to summary |
|---|---|
| public OVRPosef HmdToEyePose() transform of eye from the HMD center, in meters
| |
| malloc | back to summary |
|---|---|
| public static OVREyeRenderDesc malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static OVREyeRenderDesc. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static OVREyeRenderDesc malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static OVREyeRenderDesc. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static OVREyeRenderDesc mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVREyeRenderDesc mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVREyeRenderDesc. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVREyeRenderDesc. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nDistortedViewport | back to summary |
|---|---|
| public static OVRRecti nDistortedViewport(long struct) Unsafe version of | |
| nEye | back to summary |
|---|---|
| public static int nEye(long struct) Unsafe version of | |
| nFov | back to summary |
|---|---|
| public static OVRFovPort nFov(long struct) Unsafe version of | |
| nHmdToEyePose | back to summary |
|---|---|
| public static OVRPosef nHmdToEyePose(long struct) Unsafe version of | |
| nPixelsPerTanAngleAtCenter | back to summary |
|---|---|
| public static OVRVector2f nPixelsPerTanAngleAtCenter(long struct) Unsafe version of | |
| PixelsPerTanAngleAtCenter | back to summary |
|---|---|
| public OVRVector2f PixelsPerTanAngleAtCenter() wow many display pixels will fit in tan(angle) = 1
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
OVREyeRenderDesc structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final OVREyeRenderDesc |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public OVRRecti | |
| public int | |
| public OVRFovPort | |
| protected OVREyeRenderDesc | |
| public OVRPosef | |
| public OVRVector2f | |
| protected OVREyeRenderDesc. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final OVREyeRenderDesc ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| DistortedViewport | back to summary |
|---|---|
public OVRRecti DistortedViewport()
| |
| Eye | back to summary |
|---|---|
public int Eye()
| |
| Fov | back to summary |
|---|---|
public OVRFovPort Fov()
| |
| getElementFactory | back to summary |
|---|---|
| protected OVREyeRenderDesc getElementFactory() Implements abstract org.
| |
| HmdToEyePose | back to summary |
|---|---|
public OVRPosef HmdToEyePose()
| |
| PixelsPerTanAngleAtCenter | back to summary |
|---|---|
public OVRVector2f PixelsPerTanAngleAtCenter()
| |
| self | back to summary |
|---|---|
| protected OVREyeRenderDesc. Implements abstract org.
| |