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

Function ovr_GetTextureSwapChainLength

ReviveXR/REV_CAPI.cpp:755–765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

753}
754
755OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetTextureSwapChainLength(ovrSession session, ovrTextureSwapChain chain, int* out_Length)
756{
757 REV_TRACE(ovr_GetTextureSwapChainLength);
758
759 if (!chain)
760 return ovrError_InvalidParameter;
761
762 MICROPROFILE_META_CPU("Identifier", PtrToInt(chain->Swapchain));
763 *out_Length = chain->Length;
764 return ovrSuccess;
765}
766
767OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetTextureSwapChainCurrentIndex(ovrSession session, ovrTextureSwapChain chain, int* out_Index)
768{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected