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

Function ovr_GetViewportStencil

ReviveXR/REV_CAPI.cpp:1477–1489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1475
1476OVR_PUBLIC_FUNCTION(ovrResult)
1477ovr_GetViewportStencil(
1478 ovrSession session,
1479 const ovrViewportStencilDesc* viewportStencilDesc,
1480 ovrFovStencilMeshBuffer* outMeshBuffer)
1481{
1482 ovrFovStencilDesc fovStencilDesc = {};
1483 fovStencilDesc.StencilType = viewportStencilDesc->StencilType;
1484 fovStencilDesc.StencilFlags = 0;
1485 fovStencilDesc.Eye = viewportStencilDesc->Eye;
1486 fovStencilDesc.FovPort = viewportStencilDesc->FovPort;
1487 fovStencilDesc.HmdToEyeRotation = viewportStencilDesc->HmdToEyeRotation;
1488 return ovr_GetFovStencil(session, &fovStencilDesc, outMeshBuffer);
1489}
1490
1491OVR_PUBLIC_FUNCTION(ovrResult)
1492ovr_GetFovStencil(

Callers

nothing calls this directly

Calls 1

ovr_GetFovStencilFunction · 0.70

Tested by

no test coverage detected