Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR_CAPI.h File Reference
#include <stdint.h>
Include dependency graph for OVR_CAPI.h:
This graph shows which files directly or indirectly include this file:

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 ovrHmdStructovrHmd
 
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
 

Enumerations

enum  ovrHmdType {
  ovrHmd_None = 0, ovrHmd_DK1 = 3, ovrHmd_DKHD = 4, ovrHmd_CrystalCoveProto = 5,
  ovrHmd_DK2 = 6, ovrHmd_Other
}
 
enum  ovrHmdCaps {
  ovrHmdCap_Present = 0x0001, ovrHmdCap_Available = 0x0002, ovrHmdCap_LowPersistence = 0x0080, ovrHmdCap_LatencyTest = 0x0100,
  ovrHmdCap_DynamicPrediction = 0x0200, ovrHmdCap_NoVSync = 0x1000, ovrHmdCap_NoRestore = 0x4000, ovrHmdCap_Writable_Mask = 0x1380
}
 
enum  ovrSensorCaps { ovrSensorCap_Orientation = 0x0010, ovrSensorCap_YawCorrection = 0x0020, ovrSensorCap_Position = 0x0040 }
 
enum  ovrDistortionCaps { ovrDistortionCap_Chromatic = 0x01, ovrDistortionCap_TimeWarp = 0x02, ovrDistortionCap_Vignette = 0x08 }
 
enum  ovrEyeType { ovrEye_Left = 0, ovrEye_Right = 1, ovrEye_Count = 2 }
 
enum  ovrStatusBits { ovrStatus_OrientationTracked = 0x0001, ovrStatus_PositionTracked = 0x0002, ovrStatus_PositionConnected = 0x0020, ovrStatus_HmdConnected = 0x0080 }
 
enum  ovrRenderAPIType {
  ovrRenderAPI_None, ovrRenderAPI_OpenGL, ovrRenderAPI_Android_GLES, ovrRenderAPI_D3D9,
  ovrRenderAPI_D3D10, ovrRenderAPI_D3D11, ovrRenderAPI_Count
}
 

Functions

OVR_EXPORT ovrBool ovr_Initialize ()
 
OVR_EXPORT void ovr_Shutdown ()
 
OVR_EXPORT int ovrHmd_Detect ()
 
OVR_EXPORT ovrHmd ovrHmd_Create (int index)
 
OVR_EXPORT void ovrHmd_Destroy (ovrHmd hmd)
 
OVR_EXPORT ovrHmd ovrHmd_CreateDebug (ovrHmdType type)
 
OVR_EXPORT const char * ovrHmd_GetLastError (ovrHmd hmd)
 
OVR_EXPORT unsigned int ovrHmd_GetEnabledCaps (ovrHmd hmd)
 
OVR_EXPORT void ovrHmd_SetEnabledCaps (ovrHmd hmd, unsigned int hmdCaps)
 
OVR_EXPORT ovrBool ovrHmd_StartSensor (ovrHmd hmd, unsigned int supportedSensorCaps, unsigned int requiredSensorCaps)
 
OVR_EXPORT void ovrHmd_StopSensor (ovrHmd hmd)
 
OVR_EXPORT void ovrHmd_ResetSensor (ovrHmd hmd)
 
OVR_EXPORT ovrSensorState ovrHmd_GetSensorState (ovrHmd hmd, double absTime)
 
OVR_EXPORT ovrBool ovrHmd_GetSensorDesc (ovrHmd hmd, ovrSensorDesc *descOut)
 
OVR_EXPORT void ovrHmd_GetDesc (ovrHmd hmd, ovrHmdDesc *desc)
 
OVR_EXPORT ovrSizei ovrHmd_GetFovTextureSize (ovrHmd hmd, ovrEyeType eye, ovrFovPort fov, float pixelsPerDisplayPixel)
 
OVR_EXPORT ovrBool ovrHmd_ConfigureRendering (ovrHmd hmd, const ovrRenderAPIConfig *apiConfig, unsigned int distortionCaps, const ovrFovPort eyeFovIn[2], ovrEyeRenderDesc eyeRenderDescOut[2])
 
OVR_EXPORT ovrFrameTiming ovrHmd_BeginFrame (ovrHmd hmd, unsigned int frameIndex)
 
OVR_EXPORT void ovrHmd_EndFrame (ovrHmd hmd)
 
OVR_EXPORT ovrPosef ovrHmd_BeginEyeRender (ovrHmd hmd, ovrEyeType eye)
 
OVR_EXPORT void ovrHmd_EndEyeRender (ovrHmd hmd, ovrEyeType eye, ovrPosef renderPose, ovrTexture *eyeTexture)
 
OVR_EXPORT ovrEyeRenderDesc ovrHmd_GetRenderDesc (ovrHmd hmd, ovrEyeType eyeType, ovrFovPort fov)
 
OVR_EXPORT ovrBool ovrHmd_CreateDistortionMesh (ovrHmd hmd, ovrEyeType eyeType, ovrFovPort fov, unsigned int distortionCaps, ovrDistortionMesh *meshData)
 
OVR_EXPORT void ovrHmd_DestroyDistortionMesh (ovrDistortionMesh *meshData)
 
OVR_EXPORT void ovrHmd_GetRenderScaleAndOffset (ovrFovPort fov, ovrSizei textureSize, ovrRecti renderViewport, ovrVector2f uvScaleOffsetOut[2])
 
OVR_EXPORT ovrFrameTiming ovrHmd_GetFrameTiming (ovrHmd hmd, unsigned int frameIndex)
 
OVR_EXPORT ovrFrameTiming ovrHmd_BeginFrameTiming (ovrHmd hmd, unsigned int frameIndex)
 
OVR_EXPORT void ovrHmd_EndFrameTiming (ovrHmd hmd)
 
OVR_EXPORT void ovrHmd_ResetFrameTiming (ovrHmd hmd, unsigned int frameIndex)
 
OVR_EXPORT ovrPosef ovrHmd_GetEyePose (ovrHmd hmd, ovrEyeType eye)
 
OVR_EXPORT void ovrHmd_GetEyeTimewarpMatrices (ovrHmd hmd, ovrEyeType eye, ovrPosef renderPose, ovrMatrix4f twmOut[2])
 
OVR_EXPORT ovrMatrix4f ovrMatrix4f_Projection (ovrFovPort fov, float znear, float zfar, ovrBool rightHanded)
 
OVR_EXPORT ovrMatrix4f ovrMatrix4f_OrthoSubProjection (ovrMatrix4f projection, ovrVector2f orthoScale, float orthoDistance, float eyeViewAdjustX)
 
OVR_EXPORT double ovr_GetTimeInSeconds ()
 
OVR_EXPORT double ovr_WaitTillTime (double absTime)
 
OVR_EXPORT ovrBool ovrHmd_ProcessLatencyTest (ovrHmd hmd, unsigned char rgbColorOut[3])
 
OVR_EXPORT const char * ovrHmd_GetLatencyTestResult (ovrHmd hmd)
 
OVR_EXPORT double ovrHmd_GetMeasuredLatencyTest2 (ovrHmd hmd)
 
OVR_EXPORT float ovrHmd_GetFloat (ovrHmd hmd, const char *propertyName, float defaultVal)
 
OVR_EXPORT ovrBool ovrHmd_SetFloat (ovrHmd hmd, const char *propertyName, float value)
 
OVR_EXPORT unsigned int ovrHmd_GetFloatArray (ovrHmd hmd, const char *propertyName, float values[], unsigned int arraySize)
 
OVR_EXPORT ovrBool ovrHmd_SetFloatArray (ovrHmd hmd, const char *propertyName, float values[], unsigned int arraySize)
 
OVR_EXPORT const char * ovrHmd_GetString (ovrHmd hmd, const char *propertyName, const char *defaultVal)
 
OVR_EXPORT unsigned int ovrHmd_GetArraySize (ovrHmd hmd, const char *propertyName)
 

Data Structure Documentation

struct ovrVector2i_

Definition at line 48 of file OVR_CAPI.h.

Collaboration diagram for ovrVector2i_:
Collaboration graph
Data Fields
int x
int y
struct ovrSizei_

Definition at line 52 of file OVR_CAPI.h.

Collaboration diagram for ovrSizei_:
Collaboration graph
Data Fields
int h
int w
struct ovrRecti_

Definition at line 56 of file OVR_CAPI.h.

Collaboration diagram for ovrRecti_:
Collaboration graph
Data Fields
ovrVector2i Pos
ovrSizei Size
struct ovrQuatf_

Definition at line 63 of file OVR_CAPI.h.

Collaboration diagram for ovrQuatf_:
Collaboration graph
Data Fields
float w
float x
float y
float z
struct ovrVector2f_

Definition at line 67 of file OVR_CAPI.h.

Collaboration diagram for ovrVector2f_:
Collaboration graph
Data Fields
float x
float y
struct ovrVector3f_

Definition at line 71 of file OVR_CAPI.h.

Collaboration diagram for ovrVector3f_:
Collaboration graph
Data Fields
float x
float y
float z
struct ovrMatrix4f_

Definition at line 75 of file OVR_CAPI.h.

Collaboration diagram for ovrMatrix4f_:
Collaboration graph
Data Fields
float M[4][4]
struct ovrPosef_

Definition at line 80 of file OVR_CAPI.h.

Collaboration diagram for ovrPosef_:
Collaboration graph
Data Fields
ovrQuatf Orientation
ovrVector3f Position
struct ovrPoseStatef_

Definition at line 87 of file OVR_CAPI.h.

Collaboration diagram for ovrPoseStatef_:
Collaboration graph
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.

Collaboration diagram for ovrFovPort_:
Collaboration graph
Data Fields
float DownTan
float LeftTan
float RightTan
float UpTan
struct ovrHmdDesc_

Definition at line 189 of file OVR_CAPI.h.

Collaboration diagram for ovrHmdDesc_:
Collaboration graph
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.

Collaboration diagram for ovrSensorState_:
Collaboration graph
Data Fields
ovrPoseStatef Predicted
ovrPoseStatef Recorded
unsigned int StatusFlags
float Temperature
struct ovrSensorDesc_

Definition at line 270 of file OVR_CAPI.h.

Collaboration diagram for ovrSensorDesc_:
Collaboration graph
Data Fields
short ProductId
char SerialNumber[24]
short VendorId
struct ovrFrameTiming_

Definition at line 282 of file OVR_CAPI.h.

Collaboration diagram for ovrFrameTiming_:
Collaboration graph
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.

Collaboration diagram for ovrEyeRenderDesc_:
Collaboration graph
Data Fields
ovrRecti DistortedViewport
ovrEyeType Eye
ovrFovPort Fov
ovrVector2f PixelsPerTanAngleAtCenter
ovrVector3f ViewAdjust
struct ovrRenderAPIConfigHeader_

Definition at line 354 of file OVR_CAPI.h.

Collaboration diagram for ovrRenderAPIConfigHeader_:
Collaboration graph
Data Fields
ovrRenderAPIType API
int Multisample
ovrSizei RTSize
struct ovrRenderAPIConfig_

Definition at line 361 of file OVR_CAPI.h.

Collaboration diagram for ovrRenderAPIConfig_:
Collaboration graph
Data Fields
ovrRenderAPIConfigHeader Header
uintptr_t PlatformData[8]
struct ovrTextureHeader_

Definition at line 370 of file OVR_CAPI.h.

Collaboration diagram for ovrTextureHeader_:
Collaboration graph
Data Fields
ovrRenderAPIType API
ovrRecti RenderViewport
ovrSizei TextureSize
struct ovrTexture_

Definition at line 377 of file OVR_CAPI.h.

Collaboration diagram for ovrTexture_:
Collaboration graph
Data Fields
ovrTextureHeader Header
uintptr_t PlatformData[8]
struct ovrDistortionVertex_

Definition at line 610 of file OVR_CAPI.h.

Collaboration diagram for ovrDistortionVertex_:
Collaboration graph
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.

Collaboration diagram for ovrDistortionMesh_:
Collaboration graph
Data Fields
unsigned int IndexCount
unsigned short * pIndexData
ovrDistortionVertex * pVertexData
unsigned int VertexCount

Macro Definition Documentation

#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 Documentation

typedef char ovrBool

Definition at line 31 of file OVR_CAPI.h.

typedef struct ovrFovPort_ ovrFovPort
typedef struct ovrHmdStruct* ovrHmd

Definition at line 186 of file OVR_CAPI.h.

typedef struct ovrHmdDesc_ ovrHmdDesc
typedef struct ovrMatrix4f_ ovrMatrix4f
typedef struct ovrPosef_ ovrPosef
typedef struct ovrPoseStatef_ ovrPoseStatef
typedef struct ovrQuatf_ ovrQuatf
typedef struct ovrRecti_ ovrRecti
typedef struct ovrSensorDesc_ ovrSensorDesc
typedef struct ovrSizei_ ovrSizei
typedef struct ovrTexture_ ovrTexture
typedef struct ovrVector2f_ ovrVector2f
typedef struct ovrVector2i_ ovrVector2i
typedef struct ovrVector3f_ ovrVector3f

Enumeration Type Documentation

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.

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.

Enumerator
ovrSensorCap_Orientation 
ovrSensorCap_YawCorrection 
ovrSensorCap_Position 

Definition at line 156 of file OVR_CAPI.h.

Enumerator
ovrStatus_OrientationTracked 
ovrStatus_PositionTracked 
ovrStatus_PositionConnected 
ovrStatus_HmdConnected 

Definition at line 242 of file OVR_CAPI.h.

Function Documentation

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.