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

Method reset

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

Source from the content-addressed store, hash-verified

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

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