Torque3D Documentation / _generateds / OculusVRHMDDevice

OculusVRHMDDevice

Engine/source/platform/input/oculusVR/oculusVRHMDDevice.h

More...

Public Types

enum
SimulationTypes {  ST_RIFT_PREVIEW 
}

Protected Functions

Detailed Description

Public Types

SimulationTypes

Enumerator

ST_RIFT_PREVIEW

Protected Attributes

U32 mActionCodeIndex 
GameConnection * mConnection 
U32 mCurrentCaps 
U32 mCurrentDistortionCaps 
ovrPosef mCurrentEyePoses [2]
ovrFovPort mCurrentFovPorts [2]
Point2I mDesktopPosition 
ovrHmd mDevice 
String mDisplayDeviceName 
S32 mDisplayId 
ovrEyeRenderDesc mEyeRenderDesc [2]
bool mFrameReady 
F32 mInterpupillaryDistance 
bool mIsValid 
F32 mLensSeparation 
String mManufacturer 
String mProductName 
F32 mProfileInterpupillaryDistance 
Point2F mProjectionCenterOffset 
bool mRenderConfigurationDirty 
Point2I mResolution 
Point2F mScreenSize 
OculusVRSensorDevice * mSensor 
U32 mSupportedCaps 
U32 mSupportedDistortionCaps 
bool mTimewarp 
U32 mVersion 
bool mVsync 
Point2I mWindowSize 

Public Attributes

F32 mCurrentPixelDensity 
GFXDevice::GFXDeviceRenderStyles mDesiredRenderingMode 
GuiCanvas * mDrawCanvas 
GFXTexHandle mEyeDepthTexture [2]
Point2I mEyeRenderSize [2]
GFXTextureTargetRef mEyeRT [2]
GFXTexHandle mEyeTexture [2]
RectI mEyeViewport [2]
ovrTrackingState mLastTrackingState 
ovrSizei mRecomendedEyeTargetSize [2]
GFXFormat mRTFormat 
GFXTexHandle mStereoDepthTexture 
GFXTextureTargetRef mStereoRT 
GFXTexHandle mStereoTexture 
F32 smDesiredPixelDensity 

Protected Functions

updateRenderInfo()

Public Functions

OculusVRHMDDevice()

~OculusVRHMDDevice()

cleanUp()

clearRenderTargets()

dismissWarning()

dumpMetrics()

generateRenderTarget(GFXTextureTargetRef & target, GFXTexHandle & texture, GFXTexHandle & depth, Point2I desiredSize)

getCurrentConnection()

getDesktopPosition()

getDisplayDeviceId()

getDisplayDeviceName()

getEyeOffsets(Point3F * offsets)

Returns eye offsets in torque coordinate space, i.e. z being up, x being left-right, and y being depth (forward).

getFovPorts(FovPort * dest)

getFrameEyePose(DisplayPose * outPose, U32 eyeId)

getIPD()

getLensSeparation()

getManufacturer()

getProductName()

getProfileIPD()

getProjectionCenterOffset()

getResolution()

getScreenSize()

getSensorDevice()

getStereoTargets(GFXTextureTarget ** dest)

getStereoViewports(RectI * dest)

getVersion()

isDisplayingWarning()

isValid()

onDeviceDestroy()

onEndFrame()

onStartFrame()

set(ovrHmd hmd, U32 actionCodeIndex)

setCurrentConnection(GameConnection * connection)

setDrawCanvas(GuiCanvas * canvas)

Designates canvas we are drawing to. Also updates render targets.

setIPD(F32 ipd)

setOptimalDisplaySize(GuiCanvas * canvas)

setupTargets()

updateCaps()