|
Bike-X
0.8
|
#include <stdint.h>

Go to the source code of this file.
Data Structures | |
| struct | ovrVector2i_ |
| struct | ovrSizei_ |
| struct | ovrRecti_ |
| struct | ovrQuatf_ |
| struct | ovrVector2f_ |
| struct | ovrVector3f_ |
| struct | ovrMatrix4f_ |
| struct | ovrPosef_ |
| struct | ovrPoseStatef_ |
| struct | ovrFovPort_ |
| struct | ovrHmdDesc_ |
| struct | ovrSensorState_ |
| struct | ovrSensorDesc_ |
| struct | ovrFrameTiming_ |
| struct | ovrEyeRenderDesc_ |
| struct | ovrRenderAPIConfigHeader_ |
| struct | ovrRenderAPIConfig_ |
| struct | ovrTextureHeader_ |
| struct | ovrTexture_ |
| struct | ovrDistortionVertex_ |
| struct | ovrDistortionMesh_ |
Macros | |
| #define | OVR_EXPORT |
| #define | OVR_KEY_USER "User" |
| #define | OVR_KEY_NAME "Name" |
| #define | OVR_KEY_GENDER "Gender" |
| #define | OVR_KEY_PLAYER_HEIGHT "PlayerHeight" |
| #define | OVR_KEY_EYE_HEIGHT "EyeHeight" |
| #define | OVR_KEY_IPD "IPD" |
| #define | OVR_KEY_NECK_TO_EYE_HORIZONTAL "NeckEyeHori" |
| #define | OVR_KEY_NECK_TO_EYE_VERTICAL "NeckEyeVert" |
| #define | OVR_DEFAULT_GENDER "Male" |
| #define | OVR_DEFAULT_PLAYER_HEIGHT 1.778f |
| #define | OVR_DEFAULT_EYE_HEIGHT 1.675f |
| #define | OVR_DEFAULT_IPD 0.064f |
| #define | OVR_DEFAULT_NECK_TO_EYE_HORIZONTAL 0.12f |
| #define | OVR_DEFAULT_NECK_TO_EYE_VERTICAL 0.12f |
Typedefs | |
| typedef char | ovrBool |
| typedef struct ovrVector2i_ | ovrVector2i |
| typedef struct ovrSizei_ | ovrSizei |
| typedef struct ovrRecti_ | ovrRecti |
| typedef struct ovrQuatf_ | ovrQuatf |
| typedef struct ovrVector2f_ | ovrVector2f |
| typedef struct ovrVector3f_ | ovrVector3f |
| typedef struct ovrMatrix4f_ | ovrMatrix4f |
| typedef struct ovrPosef_ | ovrPosef |
| typedef struct ovrPoseStatef_ | ovrPoseStatef |
| typedef struct ovrFovPort_ | ovrFovPort |
| typedef struct ovrHmdStruct * | ovrHmd |
| typedef struct ovrHmdDesc_ | ovrHmdDesc |
| typedef struct ovrSensorState_ | ovrSensorState |
| typedef struct ovrSensorDesc_ | ovrSensorDesc |
| typedef struct ovrFrameTiming_ | ovrFrameTiming |
| typedef struct ovrEyeRenderDesc_ | ovrEyeRenderDesc |
| typedef struct ovrRenderAPIConfigHeader_ | ovrRenderAPIConfigHeader |
| typedef struct ovrRenderAPIConfig_ | ovrRenderAPIConfig |
| typedef struct ovrTextureHeader_ | ovrTextureHeader |
| typedef struct ovrTexture_ | ovrTexture |
| typedef struct ovrDistortionVertex_ | ovrDistortionVertex |
| typedef struct ovrDistortionMesh_ | ovrDistortionMesh |
| struct ovrVector2i_ |
Definition at line 48 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| int | x | |
| int | y | |
| struct ovrSizei_ |
Definition at line 52 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| int | h | |
| int | w | |
| struct ovrRecti_ |
Definition at line 56 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| ovrVector2i | Pos | |
| ovrSizei | Size | |
| struct ovrQuatf_ |
Definition at line 63 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| float | w | |
| float | x | |
| float | y | |
| float | z | |
| struct ovrVector2f_ |
Definition at line 67 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| float | x | |
| float | y | |
| struct ovrVector3f_ |
Definition at line 71 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| float | x | |
| float | y | |
| float | z | |
| struct ovrMatrix4f_ |
Definition at line 75 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| float | M[4][4] | |
| struct ovrPosef_ |
Definition at line 80 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| ovrQuatf | Orientation | |
| ovrVector3f | Position | |
| struct ovrPoseStatef_ |
Definition at line 87 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| ovrVector3f | AngularAcceleration | |
| ovrVector3f | AngularVelocity | |
| ovrVector3f | LinearAcceleration | |
| ovrVector3f | LinearVelocity | |
| ovrPosef | Pose | |
| double | TimeInSeconds | |
| struct ovrFovPort_ |
Definition at line 100 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| float | DownTan | |
| float | LeftTan | |
| float | RightTan | |
| float | UpTan | |
| struct ovrHmdDesc_ |
Definition at line 189 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| ovrFovPort | DefaultEyeFov[ovrEye_Count] | |
| const char * | DisplayDeviceName | |
| int | DisplayId | |
| unsigned int | DistortionCaps | |
| ovrEyeType | EyeRenderOrder[ovrEye_Count] | |
| ovrHmd | Handle | |
| unsigned int | HmdCaps | |
| const char * | Manufacturer | |
| ovrFovPort | MaxEyeFov[ovrEye_Count] | |
| const char * | ProductName | |
| ovrSizei | Resolution | |
| unsigned int | SensorCaps | |
| ovrHmdType | Type | |
| ovrVector2i | WindowsPos | |
| struct ovrSensorState_ |
Definition at line 252 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| ovrPoseStatef | Predicted | |
| ovrPoseStatef | Recorded | |
| unsigned int | StatusFlags | |
| float | Temperature | |
| struct ovrSensorDesc_ |
Definition at line 270 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| short | ProductId | |
| char | SerialNumber[24] | |
| short | VendorId | |
| struct ovrFrameTiming_ |
Definition at line 282 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| float | DeltaSeconds | |
| double | EyeScanoutSeconds[2] | |
| double | NextFrameSeconds | |
| double | ScanoutMidpointSeconds | |
| double | ThisFrameSeconds | |
| double | TimewarpPointSeconds | |
| struct ovrEyeRenderDesc_ |
Definition at line 319 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| ovrRecti | DistortedViewport | |
| ovrEyeType | Eye | |
| ovrFovPort | Fov | |
| ovrVector2f | PixelsPerTanAngleAtCenter | |
| ovrVector3f | ViewAdjust | |
| struct ovrRenderAPIConfigHeader_ |
Definition at line 354 of file OVR_CAPI.h.
| Data Fields | ||
|---|---|---|
| ovrRenderAPIType | API | |
| int | Multisample | |
| ovrSizei | RTSize | |
| struct ovrRenderAPIConfig_ |
Definition at line 361 of file OVR_CAPI.h.
| Data Fields | ||
|---|---|---|
| ovrRenderAPIConfigHeader | Header | |
| uintptr_t | PlatformData[8] | |
| struct ovrTextureHeader_ |
Definition at line 370 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| ovrRenderAPIType | API | |
| ovrRecti | RenderViewport | |
| ovrSizei | TextureSize | |
| struct ovrTexture_ |
Definition at line 377 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| ovrTextureHeader | Header | |
| uintptr_t | PlatformData[8] | |
| struct ovrDistortionVertex_ |
Definition at line 610 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| ovrVector2f | Pos | |
| ovrVector2f | TexB | |
| ovrVector2f | TexG | |
| ovrVector2f | TexR | |
| float | TimeWarpFactor | |
| float | VignetteFactor | |
| struct ovrDistortionMesh_ |
Definition at line 622 of file OVR_CAPI.h.

| Data Fields | ||
|---|---|---|
| unsigned int | IndexCount | |
| unsigned short * | pIndexData | |
| ovrDistortionVertex * | pVertexData | |
| unsigned int | VertexCount | |
| #define OVR_DEFAULT_EYE_HEIGHT 1.675f |
Definition at line 750 of file OVR_CAPI.h.
| #define OVR_DEFAULT_GENDER "Male" |
Definition at line 748 of file OVR_CAPI.h.
| #define OVR_DEFAULT_IPD 0.064f |
Definition at line 751 of file OVR_CAPI.h.
| #define OVR_DEFAULT_NECK_TO_EYE_HORIZONTAL 0.12f |
Definition at line 752 of file OVR_CAPI.h.
| #define OVR_DEFAULT_NECK_TO_EYE_VERTICAL 0.12f |
Definition at line 753 of file OVR_CAPI.h.
| #define OVR_DEFAULT_PLAYER_HEIGHT 1.778f |
Definition at line 749 of file OVR_CAPI.h.
| #define OVR_EXPORT |
Definition at line 40 of file OVR_CAPI.h.
| #define OVR_KEY_EYE_HEIGHT "EyeHeight" |
Definition at line 743 of file OVR_CAPI.h.
| #define OVR_KEY_GENDER "Gender" |
Definition at line 741 of file OVR_CAPI.h.
| #define OVR_KEY_IPD "IPD" |
Definition at line 744 of file OVR_CAPI.h.
| #define OVR_KEY_NAME "Name" |
Definition at line 740 of file OVR_CAPI.h.
| #define OVR_KEY_NECK_TO_EYE_HORIZONTAL "NeckEyeHori" |
Definition at line 745 of file OVR_CAPI.h.
| #define OVR_KEY_NECK_TO_EYE_VERTICAL "NeckEyeVert" |
Definition at line 746 of file OVR_CAPI.h.
| #define OVR_KEY_PLAYER_HEIGHT "PlayerHeight" |
Definition at line 742 of file OVR_CAPI.h.
| #define OVR_KEY_USER "User" |
Definition at line 739 of file OVR_CAPI.h.
| typedef char ovrBool |
Definition at line 31 of file OVR_CAPI.h.
| typedef struct ovrDistortionMesh_ ovrDistortionMesh |
| typedef struct ovrDistortionVertex_ ovrDistortionVertex |
| typedef struct ovrEyeRenderDesc_ ovrEyeRenderDesc |
| typedef struct ovrFovPort_ ovrFovPort |
| typedef struct ovrFrameTiming_ ovrFrameTiming |
| typedef struct ovrHmdStruct* ovrHmd |
Definition at line 186 of file OVR_CAPI.h.
| typedef struct ovrHmdDesc_ ovrHmdDesc |
| typedef struct ovrMatrix4f_ ovrMatrix4f |
| typedef struct ovrPoseStatef_ ovrPoseStatef |
| typedef struct ovrRenderAPIConfig_ ovrRenderAPIConfig |
| typedef struct ovrRenderAPIConfigHeader_ ovrRenderAPIConfigHeader |
| typedef struct ovrSensorDesc_ ovrSensorDesc |
| typedef struct ovrSensorState_ ovrSensorState |
| typedef struct ovrTexture_ ovrTexture |
| typedef struct ovrTextureHeader_ ovrTextureHeader |
| typedef struct ovrVector2f_ ovrVector2f |
| typedef struct ovrVector2i_ ovrVector2i |
| typedef struct ovrVector3f_ ovrVector3f |
| enum ovrDistortionCaps |
| Enumerator | |
|---|---|
| ovrDistortionCap_Chromatic | |
| ovrDistortionCap_TimeWarp | |
| ovrDistortionCap_Vignette | |
Definition at line 166 of file OVR_CAPI.h.
| enum ovrEyeType |
| Enumerator | |
|---|---|
| ovrEye_Left | |
| ovrEye_Right | |
| ovrEye_Count | |
Definition at line 177 of file OVR_CAPI.h.
| enum ovrHmdCaps |
| Enumerator | |
|---|---|
| ovrHmdCap_Present | |
| ovrHmdCap_Available | |
| ovrHmdCap_LowPersistence | |
| ovrHmdCap_LatencyTest | |
| ovrHmdCap_DynamicPrediction | |
| ovrHmdCap_NoVSync | |
| ovrHmdCap_NoRestore | |
| ovrHmdCap_Writable_Mask | |
Definition at line 125 of file OVR_CAPI.h.
| enum ovrHmdType |
| Enumerator | |
|---|---|
| ovrHmd_None | |
| ovrHmd_DK1 | |
| ovrHmd_DKHD | |
| ovrHmd_CrystalCoveProto | |
| ovrHmd_DK2 | |
| ovrHmd_Other | |
Definition at line 113 of file OVR_CAPI.h.
| enum ovrRenderAPIType |
| Enumerator | |
|---|---|
| ovrRenderAPI_None | |
| ovrRenderAPI_OpenGL | |
| ovrRenderAPI_Android_GLES | |
| ovrRenderAPI_D3D9 | |
| ovrRenderAPI_D3D10 | |
| ovrRenderAPI_D3D11 | |
| ovrRenderAPI_Count | |
Definition at line 341 of file OVR_CAPI.h.
| enum ovrSensorCaps |
| Enumerator | |
|---|---|
| ovrSensorCap_Orientation | |
| ovrSensorCap_YawCorrection | |
| ovrSensorCap_Position | |
Definition at line 156 of file OVR_CAPI.h.
| enum ovrStatusBits |
| Enumerator | |
|---|---|
| ovrStatus_OrientationTracked | |
| ovrStatus_PositionTracked | |
| ovrStatus_PositionConnected | |
| ovrStatus_HmdConnected | |
Definition at line 242 of file OVR_CAPI.h.
| OVR_EXPORT double ovr_GetTimeInSeconds | ( | ) |
Definition at line 182 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrBool ovr_Initialize | ( | ) |
Definition at line 211 of file OVR_CAPI.cpp.
| OVR_EXPORT void ovr_Shutdown | ( | ) |
Definition at line 228 of file OVR_CAPI.cpp.
| OVR_EXPORT double ovr_WaitTillTime | ( | double | absTime | ) |
Definition at line 188 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrPosef ovrHmd_BeginEyeRender | ( | ovrHmd | hmd, |
| ovrEyeType | eye | ||
| ) |
Definition at line 509 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrFrameTiming ovrHmd_BeginFrame | ( | ovrHmd | hmd, |
| unsigned int | frameIndex | ||
| ) |
Definition at line 440 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrFrameTiming ovrHmd_BeginFrameTiming | ( | ovrHmd | hmd, |
| unsigned int | frameIndex | ||
| ) |
Definition at line 557 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrBool ovrHmd_ConfigureRendering | ( | ovrHmd | hmd, |
| const ovrRenderAPIConfig * | apiConfig, | ||
| unsigned int | distortionCaps, | ||
| const ovrFovPort | eyeFovIn[2], | ||
| ovrEyeRenderDesc | eyeRenderDescOut[2] | ||
| ) |
Definition at line 418 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrHmd ovrHmd_Create | ( | int | index | ) |
Definition at line 268 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrHmd ovrHmd_CreateDebug | ( | ovrHmdType | type | ) |
Definition at line 283 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrBool ovrHmd_CreateDistortionMesh | ( | ovrHmd | hmd, |
| ovrEyeType | eyeType, | ||
| ovrFovPort | fov, | ||
| unsigned int | distortionCaps, | ||
| ovrDistortionMesh * | meshData | ||
| ) |
Definition at line 679 of file OVR_CAPI.cpp.
| OVR_EXPORT void ovrHmd_Destroy | ( | ovrHmd | hmd | ) |
Definition at line 292 of file OVR_CAPI.cpp.
| OVR_EXPORT void ovrHmd_DestroyDistortionMesh | ( | ovrDistortionMesh * | meshData | ) |
Definition at line 740 of file OVR_CAPI.cpp.
| OVR_EXPORT int ovrHmd_Detect | ( | ) |
Definition at line 255 of file OVR_CAPI.cpp.
| OVR_EXPORT void ovrHmd_EndEyeRender | ( | ovrHmd | hmd, |
| ovrEyeType | eye, | ||
| ovrPosef | renderPose, | ||
| ovrTexture * | eyeTexture | ||
| ) |
Definition at line 516 of file OVR_CAPI.cpp.
| OVR_EXPORT void ovrHmd_EndFrame | ( | ovrHmd | hmd | ) |
Definition at line 463 of file OVR_CAPI.cpp.
| OVR_EXPORT void ovrHmd_EndFrameTiming | ( | ovrHmd | hmd | ) |
Definition at line 592 of file OVR_CAPI.cpp.
| OVR_EXPORT unsigned int ovrHmd_GetArraySize | ( | ovrHmd | hmd, |
| const char * | propertyName | ||
| ) |
Definition at line 894 of file OVR_CAPI.cpp.
| OVR_EXPORT void ovrHmd_GetDesc | ( | ovrHmd | hmd, |
| ovrHmdDesc * | desc | ||
| ) |
Definition at line 396 of file OVR_CAPI.cpp.
| OVR_EXPORT unsigned int ovrHmd_GetEnabledCaps | ( | ovrHmd | hmd | ) |
Definition at line 327 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrPosef ovrHmd_GetEyePose | ( | ovrHmd | hmd, |
| ovrEyeType | eye | ||
| ) |
Definition at line 621 of file OVR_CAPI.cpp.
| OVR_EXPORT void ovrHmd_GetEyeTimewarpMatrices | ( | ovrHmd | hmd, |
| ovrEyeType | eye, | ||
| ovrPosef | renderPose, | ||
| ovrMatrix4f | twmOut[2] | ||
| ) |
Definition at line 631 of file OVR_CAPI.cpp.
| OVR_EXPORT float ovrHmd_GetFloat | ( | ovrHmd | hmd, |
| const char * | propertyName, | ||
| float | defaultVal | ||
| ) |
Definition at line 804 of file OVR_CAPI.cpp.
| OVR_EXPORT unsigned int ovrHmd_GetFloatArray | ( | ovrHmd | hmd, |
| const char * | propertyName, | ||
| float | values[], | ||
| unsigned int | arraySize | ||
| ) |
Definition at line 827 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrSizei ovrHmd_GetFovTextureSize | ( | ovrHmd | hmd, |
| ovrEyeType | eye, | ||
| ovrFovPort | fov, | ||
| float | pixelsPerDisplayPixel | ||
| ) |
Definition at line 404 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrFrameTiming ovrHmd_GetFrameTiming | ( | ovrHmd | hmd, |
| unsigned int | frameIndex | ||
| ) |
Definition at line 529 of file OVR_CAPI.cpp.
| OVR_EXPORT const char* ovrHmd_GetLastError | ( | ovrHmd | hmd | ) |
Definition at line 308 of file OVR_CAPI.cpp.
| OVR_EXPORT const char* ovrHmd_GetLatencyTestResult | ( | ovrHmd | hmd | ) |
Definition at line 783 of file OVR_CAPI.cpp.
| OVR_EXPORT double ovrHmd_GetMeasuredLatencyTest2 | ( | ovrHmd | hmd | ) |
Definition at line 789 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrEyeRenderDesc ovrHmd_GetRenderDesc | ( | ovrHmd | hmd, |
| ovrEyeType | eyeType, | ||
| ovrFovPort | fov | ||
| ) |
Definition at line 656 of file OVR_CAPI.cpp.
| OVR_EXPORT void ovrHmd_GetRenderScaleAndOffset | ( | ovrFovPort | fov, |
| ovrSizei | textureSize, | ||
| ovrRecti | renderViewport, | ||
| ovrVector2f | uvScaleOffsetOut[2] | ||
| ) |
Definition at line 755 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrBool ovrHmd_GetSensorDesc | ( | ovrHmd | hmd, |
| ovrSensorDesc * | descOut | ||
| ) |
Definition at line 384 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrSensorState ovrHmd_GetSensorState | ( | ovrHmd | hmd, |
| double | absTime | ||
| ) |
Definition at line 377 of file OVR_CAPI.cpp.
| OVR_EXPORT const char* ovrHmd_GetString | ( | ovrHmd | hmd, |
| const char * | propertyName, | ||
| const char * | defaultVal | ||
| ) |
Definition at line 853 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrBool ovrHmd_ProcessLatencyTest | ( | ovrHmd | hmd, |
| unsigned char | rgbColorOut[3] | ||
| ) |
| OVR_EXPORT void ovrHmd_ResetFrameTiming | ( | ovrHmd | hmd, |
| unsigned int | frameIndex | ||
| ) |
Definition at line 607 of file OVR_CAPI.cpp.
| OVR_EXPORT void ovrHmd_ResetSensor | ( | ovrHmd | hmd | ) |
Definition at line 371 of file OVR_CAPI.cpp.
| OVR_EXPORT void ovrHmd_SetEnabledCaps | ( | ovrHmd | hmd, |
| unsigned int | hmdCaps | ||
| ) |
Definition at line 335 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrBool ovrHmd_SetFloat | ( | ovrHmd | hmd, |
| const char * | propertyName, | ||
| float | value | ||
| ) |
Definition at line 815 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrBool ovrHmd_SetFloatArray | ( | ovrHmd | hmd, |
| const char * | propertyName, | ||
| float | values[], | ||
| unsigned int | arraySize | ||
| ) |
Definition at line 841 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrBool ovrHmd_StartSensor | ( | ovrHmd | hmd, |
| unsigned int | supportedSensorCaps, | ||
| unsigned int | requiredSensorCaps | ||
| ) |
Definition at line 358 of file OVR_CAPI.cpp.
| OVR_EXPORT void ovrHmd_StopSensor | ( | ovrHmd | hmd | ) |
Definition at line 365 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrMatrix4f ovrMatrix4f_OrthoSubProjection | ( | ovrMatrix4f | projection, |
| ovrVector2f | orthoScale, | ||
| float | orthoDistance, | ||
| float | eyeViewAdjustX | ||
| ) |
Definition at line 111 of file OVR_CAPI.cpp.
| OVR_EXPORT ovrMatrix4f ovrMatrix4f_Projection | ( | ovrFovPort | fov, |
| float | znear, | ||
| float | zfar, | ||
| ovrBool | rightHanded | ||
| ) |
Definition at line 105 of file OVR_CAPI.cpp.