Initialize.
struct ovrInitParams {
uint32_t Flags;
uint32_t RequestedMinorVersion;
ovrLogCallback LogCallback;
uintptr_t UserData;
uint32_t ConnectionTimeoutMS;
}
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CONNECTIONTIMEOUTMS
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | LOGCALLBACK
The struct member offsets. |
| public static final int | REQUESTEDMINORVERSION
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | USERDATA
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | OVRInitParams(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static OVRInitParams | |
| public static OVRInitParams | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRInitParams | |
| public static OVRInitParams | |
| public int | ConnectionTimeoutMS()
relative number of milliseconds to wait for a connection to the server before failing. |
| public OVRInitParams | |
| protected OVRInitParams | 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 OVRInitParams | |
| public static OVRInitParams | |
| public static OVRInitParams | |
| public int | |
| public OVRInitParams | |
| public OVRLogCallback | LogCallback()
user-supplied log callback function, which may be called at any time asynchronously from multiple threads until |
| public OVRInitParams | |
| public static OVRInitParams | |
| public static OVRInitParams | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static OVRInitParams | |
| public static OVRInitParams | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static OVRLogCallback | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public int | |
| public OVRInitParams | |
| public OVRInitParams | set(int Flags, int RequestedMinorVersion, OVRLogCallbackI LogCallback, long UserData, int ConnectionTimeoutMS)
Initializes this struct with the specified values. |
| public OVRInitParams | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public OVRInitParams |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CONNECTIONTIMEOUTMS | back to summary |
|---|---|
| public static final int CONNECTIONTIMEOUTMS The struct member offsets. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| LOGCALLBACK | back to summary |
|---|---|
| public static final int LOGCALLBACK The struct member offsets. | |
| REQUESTEDMINORVERSION | back to summary |
|---|---|
| public static final int REQUESTEDMINORVERSION The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| USERDATA | back to summary |
|---|---|
| public static final int USERDATA The struct member offsets. | |
| OVRInitParams | back to summary |
|---|---|
| protected OVRInitParams(long address, ByteBuffer container) | |
| OVRInitParams | back to summary |
|---|---|
| public OVRInitParams(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static OVRInitParams calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static OVRInitParams calloc(MemoryStack stack) Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static OVRInitParams callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static OVRInitParams callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ConnectionTimeoutMS | back to summary |
|---|---|
| public int ConnectionTimeoutMS() relative number of milliseconds to wait for a connection to the server before failing. Use 0 for the default timeout.
| |
| ConnectionTimeoutMS | back to summary |
|---|---|
| public OVRInitParams ConnectionTimeoutMS(int value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected OVRInitParams create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static OVRInitParams create() Returns a new | |
| create | back to summary |
|---|---|
| public static OVRInitParams create(long address) Returns a new | |
| createSafe | back to summary |
|---|---|
| public static OVRInitParams createSafe(long address) Like
| |
| Flags | back to summary |
|---|---|
| public int Flags() flags from
| |
| Flags | back to summary |
|---|---|
| public OVRInitParams Flags(int value) Sets the specified value to the | |
| LogCallback | back to summary |
|---|---|
| public OVRLogCallback LogCallback() user-supplied log callback function, which may be called at any time asynchronously from multiple threads until
| |
| LogCallback | back to summary |
|---|---|
| public OVRInitParams LogCallback(OVRLogCallbackI value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static OVRInitParams malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static OVRInitParams malloc(MemoryStack stack) Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static OVRInitParams mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static OVRInitParams mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nConnectionTimeoutMS | back to summary |
|---|---|
| public static int nConnectionTimeoutMS(long struct) Unsafe version of | |
| nConnectionTimeoutMS | back to summary |
|---|---|
| public static void nConnectionTimeoutMS(long struct, int value) Unsafe version of | |
| nFlags | back to summary |
|---|---|
| public static int nFlags(long struct) Unsafe version of | |
| nFlags | back to summary |
|---|---|
| public static void nFlags(long struct, int value) Unsafe version of | |
| nLogCallback | back to summary |
|---|---|
| public static OVRLogCallback nLogCallback(long struct) Unsafe version of
| |
| nLogCallback | back to summary |
|---|---|
| public static void nLogCallback(long struct, OVRLogCallbackI value) Unsafe version of | |
| nRequestedMinorVersion | back to summary |
|---|---|
| public static int nRequestedMinorVersion(long struct) Unsafe version of | |
| nRequestedMinorVersion | back to summary |
|---|---|
| public static void nRequestedMinorVersion(long struct, int value) Unsafe version of | |
| nUserData | back to summary |
|---|---|
| public static long nUserData(long struct) Unsafe version of | |
| nUserData | back to summary |
|---|---|
| public static void nUserData(long struct, long value) Unsafe version of | |
| RequestedMinorVersion | back to summary |
|---|---|
| public int RequestedMinorVersion() requests a specific minor version of the LibOVR runtime. Flags must include
| |
| RequestedMinorVersion | back to summary |
|---|---|
| public OVRInitParams RequestedMinorVersion(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public OVRInitParams set(int Flags, int RequestedMinorVersion, OVRLogCallbackI LogCallback, long UserData, int ConnectionTimeoutMS) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public OVRInitParams set(OVRInitParams src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| UserData | back to summary |
|---|---|
| public long UserData() user-supplied data which is passed as-is to
| |
| UserData | back to summary |
|---|---|
| public OVRInitParams UserData(long value) Sets the specified value to the | |