MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / reset

Method reset

Engine/source/platform/input/openVR/openVRProvider.cpp:454–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454void OpenVRRenderState::reset(vr::IVRSystem* hmd)
455{
456 mHMD = hmd;
457
458 mStereoRT = NULL;
459
460 mStereoRenderTexture = NULL;
461 mStereoDepthTexture = NULL;
462
463 mOutputEyeTextures.clear();
464
465 if (!mHMD)
466 return;
467
468 updateHMDProjection();
469}
470
471void OpenVRRenderState::updateHMDProjection()
472{

Callers 5

_requestNextMethod · 0.45
executeMethod · 0.45
_requestNextMethod · 0.45
enableMethod · 0.45
disableMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected