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

#include "CAPI_DistortionRenderer.h"

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

Data Structures

class  GraphicsState
 

Public Types

typedef DistortionRenderer *(* CreateFunc )(ovrHmd hmd, FrameTimeManager &timeManager, const HMDRenderState &renderState)
 

Public Member Functions

 DistortionRenderer (ovrRenderAPIType api, ovrHmd hmd, FrameTimeManager &timeManager, const HMDRenderState &renderState)
 
virtual ~DistortionRenderer ()
 
virtual bool Initialize (const ovrRenderAPIConfig *apiConfig, unsigned distortionCaps)=0
 
virtual void SubmitEye (int eyeId, ovrTexture *eyeTexture)=0
 
virtual void EndFrame (bool swapBuffers, unsigned char *latencyTesterDrawColor, unsigned char *latencyTester2DrawColor)=0
 
void SaveGraphicsState ()
 
void RestoreGraphicsState ()
 
ovrRenderAPIType GetRenderAPI () const
 
- Public Member Functions inherited from OVR::RefCountBase< DistortionRenderer >
OVR_FORCE_INLINE RefCountBase ()
 
- Public Member Functions inherited from OVR::RefCountBaseStatImpl< RefCountImpl >
 RefCountBaseStatImpl ()
 
- Public Member Functions inherited from OVR::RefCountImpl
void AddRef ()
 
void Release ()
 
- Public Member Functions inherited from OVR::RefCountImplCore
OVR_FORCE_INLINE RefCountImplCore ()
 
virtual ~RefCountImplCore ()
 
int GetRefCount () const
 
void operator= (const RefCountImplCore &)
 

Static Public Attributes

static CreateFunc APICreateRegistry [ovrRenderAPI_Count]
 

Protected Attributes

const ovrRenderAPIType RenderAPI
 
const ovrHmd HMD
 
FrameTimeManagerTimeManager
 
const HMDRenderStateRState
 
Ptr< GraphicsStateGfxState
 
- Protected Attributes inherited from OVR::RefCountImplCore
volatile int RefCount
 

Private Member Functions

void operator= (const DistortionRenderer &)
 

Additional Inherited Members

- Static Public Member Functions inherited from OVR::RefCountImplCore
static void checkInvalidDelete (RefCountImplCore *)
 

Detailed Description

Definition at line 43 of file CAPI_DistortionRenderer.h.

Member Typedef Documentation

typedef DistortionRenderer*(* OVR::CAPI::DistortionRenderer::CreateFunc)(ovrHmd hmd, FrameTimeManager &timeManager, const HMDRenderState &renderState)

Definition at line 86 of file CAPI_DistortionRenderer.h.

Constructor & Destructor Documentation

OVR::CAPI::DistortionRenderer::DistortionRenderer ( ovrRenderAPIType  api,
ovrHmd  hmd,
FrameTimeManager timeManager,
const HMDRenderState renderState 
)
inline

Definition at line 49 of file CAPI_DistortionRenderer.h.

virtual OVR::CAPI::DistortionRenderer::~DistortionRenderer ( )
inlinevirtual

Reimplemented in OVR::CAPI::GL::DistortionRenderer.

Definition at line 54 of file CAPI_DistortionRenderer.h.

Member Function Documentation

virtual void OVR::CAPI::DistortionRenderer::EndFrame ( bool  swapBuffers,
unsigned char *  latencyTesterDrawColor,
unsigned char *  latencyTester2DrawColor 
)
pure virtual
ovrRenderAPIType OVR::CAPI::DistortionRenderer::GetRenderAPI ( ) const
inline

Definition at line 83 of file CAPI_DistortionRenderer.h.

virtual bool OVR::CAPI::DistortionRenderer::Initialize ( const ovrRenderAPIConfig apiConfig,
unsigned  distortionCaps 
)
pure virtual
void OVR::CAPI::DistortionRenderer::operator= ( const DistortionRenderer )
inlineprivate

Definition at line 46 of file CAPI_DistortionRenderer.h.

void OVR::CAPI::DistortionRenderer::RestoreGraphicsState ( )
inline

Definition at line 79 of file CAPI_DistortionRenderer.h.

void OVR::CAPI::DistortionRenderer::SaveGraphicsState ( )
inline

Definition at line 76 of file CAPI_DistortionRenderer.h.

virtual void OVR::CAPI::DistortionRenderer::SubmitEye ( int  eyeId,
ovrTexture eyeTexture 
)
pure virtual

Field Documentation

DistortionRenderer::CreateFunc OVR::CAPI::DistortionRenderer::APICreateRegistry
static
Initial value:
=
{
0,
0,
0,
0,
0
}

Definition at line 90 of file CAPI_DistortionRenderer.h.

Ptr<GraphicsState> OVR::CAPI::DistortionRenderer::GfxState
protected

Definition at line 110 of file CAPI_DistortionRenderer.h.

const ovrHmd OVR::CAPI::DistortionRenderer::HMD
protected

Definition at line 107 of file CAPI_DistortionRenderer.h.

const ovrRenderAPIType OVR::CAPI::DistortionRenderer::RenderAPI
protected

Definition at line 106 of file CAPI_DistortionRenderer.h.

const HMDRenderState& OVR::CAPI::DistortionRenderer::RState
protected

Definition at line 109 of file CAPI_DistortionRenderer.h.

FrameTimeManager& OVR::CAPI::DistortionRenderer::TimeManager
protected

Definition at line 108 of file CAPI_DistortionRenderer.h.


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