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

Function ovr_GetTextureSwapChainLength

Revive/REV_CAPI.cpp:746–756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744}
745
746OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetTextureSwapChainLength(ovrSession session, ovrTextureSwapChain chain, int* out_Length)
747{
748 REV_TRACE(ovr_GetTextureSwapChainLength);
749
750 if (!chain)
751 return ovrError_InvalidParameter;
752
753 MICROPROFILE_META_CPU("Identifier", chain->Identifier);
754 *out_Length = chain->Length;
755 return ovrSuccess;
756}
757
758OVR_PUBLIC_FUNCTION(ovrResult) ovr_GetTextureSwapChainCurrentIndex(ovrSession session, ovrTextureSwapChain chain, int* out_Index)
759{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected