Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::CAPI::HMDRenderState Class Reference

#include "CAPI_HMDRenderState.h"

Inheritance diagram for OVR::CAPI::HMDRenderState:
Inheritance graph
Collaboration diagram for OVR::CAPI::HMDRenderState:
Collaboration graph

Public Member Functions

 HMDRenderState (ovrHmd hmd, Profile *userProfile, const OVR::HMDInfo &hmdInfo)
 
virtual ~HMDRenderState ()
 
ovrHmdDesc GetDesc ()
 
ovrSizei GetFOVTextureSize (int eye, ovrFovPort fov, float pixelsPerDisplayPixel)
 
ovrEyeRenderDesc calcRenderDesc (ovrEyeType eyeType, const ovrFovPort &fov)
 
void setupRenderDesc (ovrEyeRenderDesc eyeRenderDescOut[2], const ovrFovPort eyeFovIn[2])
 

Data Fields

ovrHmd HMD
 
const OVR::HMDInfoHMDInfo
 
HmdRenderInfo RenderInfo
 
DistortionRenderDesc Distortion [2]
 
ovrEyeRenderDesc EyeRenderDesc [2]
 
float ClearColor [4]
 
ovrPosef EyeRenderPoses [2]
 
unsigned EnabledHmdCaps
 
unsigned DistortionCaps
 

Private Member Functions

void operator= (const HMDRenderState &)
 

Detailed Description

Definition at line 44 of file CAPI_HMDRenderState.h.

Constructor & Destructor Documentation

OVR::CAPI::HMDRenderState::HMDRenderState ( ovrHmd  hmd,
Profile userProfile,
const OVR::HMDInfo hmdInfo 
)

Definition at line 36 of file CAPI_HMDRenderState.cpp.

OVR::CAPI::HMDRenderState::~HMDRenderState ( )
virtual

Definition at line 49 of file CAPI_HMDRenderState.cpp.

Member Function Documentation

ovrEyeRenderDesc OVR::CAPI::HMDRenderState::calcRenderDesc ( ovrEyeType  eyeType,
const ovrFovPort fov 
)

Definition at line 118 of file CAPI_HMDRenderState.cpp.

ovrHmdDesc OVR::CAPI::HMDRenderState::GetDesc ( )

Definition at line 53 of file CAPI_HMDRenderState.cpp.

ovrSizei OVR::CAPI::HMDRenderState::GetFOVTextureSize ( int  eye,
ovrFovPort  fov,
float  pixelsPerDisplayPixel 
)

Definition at line 111 of file CAPI_HMDRenderState.cpp.

void OVR::CAPI::HMDRenderState::operator= ( const HMDRenderState )
inlineprivate

Definition at line 47 of file CAPI_HMDRenderState.h.

void OVR::CAPI::HMDRenderState::setupRenderDesc ( ovrEyeRenderDesc  eyeRenderDescOut[2],
const ovrFovPort  eyeFovIn[2] 
)

Definition at line 134 of file CAPI_HMDRenderState.cpp.

Field Documentation

float OVR::CAPI::HMDRenderState::ClearColor[4]

Definition at line 77 of file CAPI_HMDRenderState.h.

DistortionRenderDesc OVR::CAPI::HMDRenderState::Distortion[2]

Definition at line 73 of file CAPI_HMDRenderState.h.

unsigned OVR::CAPI::HMDRenderState::DistortionCaps

Definition at line 84 of file CAPI_HMDRenderState.h.

unsigned OVR::CAPI::HMDRenderState::EnabledHmdCaps

Definition at line 83 of file CAPI_HMDRenderState.h.

ovrEyeRenderDesc OVR::CAPI::HMDRenderState::EyeRenderDesc[2]

Definition at line 74 of file CAPI_HMDRenderState.h.

ovrPosef OVR::CAPI::HMDRenderState::EyeRenderPoses[2]

Definition at line 80 of file CAPI_HMDRenderState.h.

ovrHmd OVR::CAPI::HMDRenderState::HMD

Definition at line 67 of file CAPI_HMDRenderState.h.

const OVR::HMDInfo& OVR::CAPI::HMDRenderState::HMDInfo

Definition at line 68 of file CAPI_HMDRenderState.h.

HmdRenderInfo OVR::CAPI::HMDRenderState::RenderInfo

Definition at line 72 of file CAPI_HMDRenderState.h.


The documentation for this class was generated from the following files: