29 #if defined (OVR_OS_WIN32)
32 #define OVR_D3D_VERSION 11
33 #include "D3D1X/CAPI_D3D1X_DistortionRenderer.h"
34 #undef OVR_D3D_VERSION
36 #define OVR_D3D_VERSION 10
37 #include "D3D1X/CAPI_D3D1X_DistortionRenderer.h"
38 #undef OVR_D3D_VERSION
40 #define OVR_D3D_VERSION 9
41 #include "D3D1X/CAPI_D3D9_DistortionRenderer.h"
42 #undef OVR_D3D_VERSION
48 namespace OVR {
namespace CAPI {
60 #if defined (OVR_OS_WIN32)
61 &D3D9::DistortionRenderer::Create,
62 &D3D10::DistortionRenderer::Create,
63 &D3D11::DistortionRenderer::Create
static CAPI::DistortionRenderer * Create(ovrHmd hmd, FrameTimeManager &timeManager, const HMDRenderState &renderState)
DistortionRenderer *(* CreateFunc)(ovrHmd hmd, FrameTimeManager &timeManager, const HMDRenderState &renderState)
static CreateFunc APICreateRegistry[ovrRenderAPI_Count]