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

Function ovr_GetMirrorTextureBufferDX

ReviveXR/REV_CAPI_D3D.cpp:296–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetMirrorTextureBufferDX(ovrSession session,
297 ovrMirrorTexture mirrorTexture,
298 IID iid,
299 void** out_Buffer)
300{
301 REV_TRACE(ovr_GetMirrorTextureBufferDX);
302
303 if (!session)
304 return ovrError_InvalidSession;
305
306 if (!mirrorTexture || !out_Buffer)
307 return ovrError_InvalidParameter;
308
309 return ovr_GetTextureSwapChainBufferDX(session, mirrorTexture->Dummy, 0, iid, out_Buffer);
310}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected