MCPcopy Create free account
hub / github.com/LibreVR/Revive / ovr_DestroyMirrorTexture

Function ovr_DestroyMirrorTexture

Revive/REV_CAPI.cpp:822–831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820}
821
822OVR_PUBLIC_FUNCTION(void) ovr_DestroyMirrorTexture(ovrSession session, ovrMirrorTexture mirrorTexture)
823{
824 REV_TRACE(ovr_DestroyMirrorTexture);
825
826 if (!mirrorTexture)
827 return;
828
829 session->Compositor->SetMirrorTexture(nullptr);
830 delete mirrorTexture;
831}
832
833OVR_PUBLIC_FUNCTION(ovrSizei) ovr_GetFovTextureSize(ovrSession session, ovrEyeType eye, ovrFovPort fov, float pixelsPerDisplayPixel)
834{

Callers

nothing calls this directly

Calls 1

SetMirrorTextureMethod · 0.80

Tested by

no test coverage detected