struct ovrSessionStatus {
ovrBool IsVisible;
ovrBool HmdPresent;
ovrBool HmdMounted;
ovrBool DisplayLost;
ovrBool ShouldQuit;
ovrBool ShouldRecenter;
ovrBool HasInputFocus;
ovrBool OverlayPresent;
ovrBool DepthRequested;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | OVRSessionStatus.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DEPTHREQUESTED
The struct member offsets. |
| public static final int | DISPLAYLOST
The struct member offsets. |
| public static final int | HASINPUTFOCUS
The struct member offsets. |
| public static final int | HMDMOUNTED
The struct member offsets. |
| public static final int | HMDPRESENT
The struct member offsets. |
| public static final int | ISVISIBLE
The struct member offsets. |
| public static final int | OVERLAYPRESENT
The struct member offsets. |
| public static final int | SHOULDQUIT
The struct member offsets. |
| public static final int | SHOULDRECENTER
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | OVRSessionStatus(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static OVRSessionStatus | |
| public static OVRSessionStatus. | calloc(int
the buffer capacity capacity)Returns a new |
| public static OVRSessionStatus | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRSessionStatus. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVRSessionStatus | |
| public static OVRSessionStatus | |
| public static OVRSessionStatus. | |
| public static OVRSessionStatus. | |
| protected OVRSessionStatus | 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 OVRSessionStatus | |
| public static OVRSessionStatus | |
| public static OVRSessionStatus. | create(int
the buffer capacity capacity)Returns a new |
| public static OVRSessionStatus. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static OVRSessionStatus | |
| public static OVRSessionStatus. | |
| public boolean | DepthRequested()
True if runtime is requesting that the application provide depth buffers with projection layers. |
| public boolean | |
| public boolean | HasInputFocus()
True if the application is the foreground application and receives input (e.g. Touch controller state). |
| public boolean | |
| public boolean | |
| public boolean | |
| public static OVRSessionStatus | |
| public static OVRSessionStatus. | malloc(int
the buffer capacity capacity)Returns a new |
| public static OVRSessionStatus | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRSessionStatus. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static OVRSessionStatus | |
| public static OVRSessionStatus | |
| public static OVRSessionStatus. | |
| public static OVRSessionStatus. | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DEPTHREQUESTED | back to summary |
|---|---|
| public static final int DEPTHREQUESTED The struct member offsets. | |
| DISPLAYLOST | back to summary |
|---|---|
| public static final int DISPLAYLOST The struct member offsets. | |
| HASINPUTFOCUS | back to summary |
|---|---|
| public static final int HASINPUTFOCUS The struct member offsets. | |
| HMDMOUNTED | back to summary |
|---|---|
| public static final int HMDMOUNTED The struct member offsets. | |
| HMDPRESENT | back to summary |
|---|---|
| public static final int HMDPRESENT The struct member offsets. | |
| ISVISIBLE | back to summary |
|---|---|
| public static final int ISVISIBLE The struct member offsets. | |
| OVERLAYPRESENT | back to summary |
|---|---|
| public static final int OVERLAYPRESENT The struct member offsets. | |
| SHOULDQUIT | back to summary |
|---|---|
| public static final int SHOULDQUIT The struct member offsets. | |
| SHOULDRECENTER | back to summary |
|---|---|
| public static final int SHOULDRECENTER The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| OVRSessionStatus | back to summary |
|---|---|
| protected OVRSessionStatus(long address, ByteBuffer container) | |
| OVRSessionStatus | back to summary |
|---|---|
| public OVRSessionStatus(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static OVRSessionStatus calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static OVRSessionStatus. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static OVRSessionStatus calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static OVRSessionStatus. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static OVRSessionStatus callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRSessionStatus callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRSessionStatus. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRSessionStatus. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected OVRSessionStatus create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static OVRSessionStatus create() Returns a new | |
| create | back to summary |
|---|---|
| public static OVRSessionStatus create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static OVRSessionStatus. Returns a new
| |
| create | back to summary |
|---|---|
| public static OVRSessionStatus. Create a
| |
| createSafe | back to summary |
|---|---|
| public static OVRSessionStatus createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static OVRSessionStatus. Like
| |
| DepthRequested | back to summary |
|---|---|
| public boolean DepthRequested() True if runtime is requesting that the application provide depth buffers with projection layers.
| |
| DisplayLost | back to summary |
|---|---|
| public boolean DisplayLost() True if the session is in a display-lost state. See
| |
| HasInputFocus | back to summary |
|---|---|
| public boolean HasInputFocus() True if the application is the foreground application and receives input (e.g. Touch controller state). If this is false then the application is in the background (but possibly still visible) should hide any input representations such as hands.
| |
| HmdMounted | back to summary |
|---|---|
| public boolean HmdMounted() True if the HMD is on the user's head.
| |
| HmdPresent | back to summary |
|---|---|
| public boolean HmdPresent() True if an HMD is present.
| |
| IsVisible | back to summary |
|---|---|
| public boolean IsVisible() True if the process has VR focus and thus is visible in the HMD.
| |
| malloc | back to summary |
|---|---|
| public static OVRSessionStatus malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static OVRSessionStatus. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static OVRSessionStatus malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static OVRSessionStatus. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static OVRSessionStatus mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRSessionStatus mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRSessionStatus. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRSessionStatus. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nDepthRequested | back to summary |
|---|---|
| public static boolean nDepthRequested(long struct) Unsafe version of | |
| nDisplayLost | back to summary |
|---|---|
| public static boolean nDisplayLost(long struct) Unsafe version of | |
| nHasInputFocus | back to summary |
|---|---|
| public static boolean nHasInputFocus(long struct) Unsafe version of | |
| nHmdMounted | back to summary |
|---|---|
| public static boolean nHmdMounted(long struct) Unsafe version of | |
| nHmdPresent | back to summary |
|---|---|
| public static boolean nHmdPresent(long struct) Unsafe version of | |
| nIsVisible | back to summary |
|---|---|
| public static boolean nIsVisible(long struct) Unsafe version of | |
| nOverlayPresent | back to summary |
|---|---|
| public static boolean nOverlayPresent(long struct) Unsafe version of | |
| nShouldQuit | back to summary |
|---|---|
| public static boolean nShouldQuit(long struct) Unsafe version of | |
| nShouldRecenter | back to summary |
|---|---|
| public static boolean nShouldRecenter(long struct) Unsafe version of | |
| OverlayPresent | back to summary |
|---|---|
| public boolean OverlayPresent() True if a system overlay is present, such as a dashboard. In this case the application (if visible) should pause while still drawing, avoid drawing near-field graphics so they don't visually fight with the system overlay, and consume fewer CPU and GPU resources. Deprecated, do not use.
| |
| ShouldQuit | back to summary |
|---|---|
| public boolean ShouldQuit() True if the application should initiate shutdown.
| |
| ShouldRecenter | back to summary |
|---|---|
| public boolean ShouldRecenter() True if UX has requested re-centering. Must call
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
OVRSessionStatus structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final OVRSessionStatus |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| protected OVRSessionStatus | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| protected OVRSessionStatus. | |
| public boolean | |
| public boolean |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final OVRSessionStatus 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) | |
| DepthRequested | back to summary |
|---|---|
public boolean DepthRequested()
| |
| DisplayLost | back to summary |
|---|---|
public boolean DisplayLost()
| |
| getElementFactory | back to summary |
|---|---|
| protected OVRSessionStatus getElementFactory() Implements abstract org.
| |
| HasInputFocus | back to summary |
|---|---|
public boolean HasInputFocus()
| |
| HmdMounted | back to summary |
|---|---|
public boolean HmdMounted()
| |
| HmdPresent | back to summary |
|---|---|
public boolean HmdPresent()
| |
| IsVisible | back to summary |
|---|---|
public boolean IsVisible()
| |
| OverlayPresent | back to summary |
|---|---|
public boolean OverlayPresent()
| |
| self | back to summary |
|---|---|
| protected OVRSessionStatus. Implements abstract org.
| |
| ShouldQuit | back to summary |
|---|---|
public boolean ShouldQuit()
| |
| ShouldRecenter | back to summary |
|---|---|
public boolean ShouldRecenter()
| |