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

Function ovr_GetMirrorTextureBufferVk

ReviveXR/REV_CAPI_Vk.cpp:265–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263
264OVR_PUBLIC_FUNCTION(ovrResult)
265ovr_GetMirrorTextureBufferVk(
266 ovrSession session,
267 ovrMirrorTexture mirrorTexture,
268 VkImage* out_Image)
269{
270 REV_TRACE(ovr_GetMirrorTextureBufferVk);
271
272 if (!session)
273 return ovrError_InvalidSession;
274
275 if (!mirrorTexture || !out_Image)
276 return ovrError_InvalidParameter;
277
278 return ovr_GetTextureSwapChainBufferVk(session, mirrorTexture->Dummy, 0, out_Image);
279}
280

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected