Torque3D Documentation / _generateds / OculusVRHMDDevice

OculusVRHMDDevice

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

More...

Public Types

enum
SimulationTypes {  ST_RIFT_PREVIEW 
}

Protected Functions

Public Functions

Detailed Description

Public Types

SimulationTypes

Enumerator

ST_RIFT_PREVIEW

Protected Attributes

U32 mActionCodeIndex 
GameConnection * mConnection 
U32 mCurrentCaps 
ovrHmd mDevice 
String mDisplayDeviceType 
S32 mDisplayId 
ovrEyeRenderDesc mEyeRenderDesc [2]
bool mFrameReady 
F32 mInterpupillaryDistance 
bool mIsValid 
F32 mLensSeparation 
ovrGraphicsLuid mLuid 
String mManufacturer 
String mProductName 
F32 mProfileInterpupillaryDistance 
Point2F mProjectionCenterOffset 
bool mRenderConfigurationDirty 
Point2I mResolution 
Point2F mScreenSize 
OculusVRSensorDevice * mSensor 
U32 mSupportedCaps 
bool mTimewarp 
U32 mVersion 
bool mVsync 

Public Attributes

F32 mCurrentPixelDensity 
ovrTexture * mDebugMirrorTexture 
GFXTexHandle mDebugMirrorTextureHandle 
ovrLayerDirect mDebugRenderLayer 
GFXTexHandle mDebugStereoTexture 
GFXDevice::GFXDeviceRenderStyles mDesiredRenderingMode 
GuiCanvas * mDrawCanvas 
GFXTextureTargetRef mEyeRT [2]
RectI mEyeViewport [2]
ovrTrackingState mLastTrackingState 
ovrLayerEyeFov mRenderLayer 
GFXFormat mRTFormat 
ovrViewScaleDesc mScaleDesc 
GFXTexHandle mStereoDepthTexture 
GFXTextureTargetRef mStereoRT 
OculusTexture * mTextureSwapSet 
F32 smDesiredPixelDensity 

Protected Functions

updateRenderInfo()

Public Functions

OculusVRHMDDevice()

~OculusVRHMDDevice()

cleanUp()

clearRenderTargets()

dismissWarning()

dumpMetrics()

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

getCurrentConnection()

getDisplayDeviceId()

getDisplayDeviceType()

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()

getPreviewTexture()

getProductName()

getProfileIPD()

getProjectionCenterOffset()

getResolution()

getScreenSize()

getSensorDevice()

getStereoTargets(GFXTextureTarget ** dest)

getStereoViewports(RectI * dest)

getVersion()

isDisplayingWarning()

isValid()

onDeviceDestroy()

onEndFrame()

onStartFrame()

set(ovrHmd hmd, ovrGraphicsLuid luid, 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()