MCPcopy Create free account
hub / github.com/RenderKit/ospray / commitOutstandingHandles

Method commitOutstandingHandles

apps/ospExamples/GLFWOSPRayWindow.cpp:983–992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

981}
982
983void GLFWOSPRayWindow::commitOutstandingHandles()
984{
985 auto handles = objectsToCommit.consume();
986 if (!handles.empty()) {
987 for (auto &h : handles)
988 ospCommit(h);
989 frame = 0;
990 framebuffer.resetAccumulation();
991 }
992}
993
994void GLFWOSPRayWindow::refreshScene(bool resetCamera)
995{

Callers

nothing calls this directly

Calls 2

ospCommitFunction · 0.85
resetAccumulationMethod · 0.45

Tested by

no test coverage detected