MCPcopy Create free account
hub / github.com/christophhart/HISE / renderWasFinished

Method renderWasFinished

hi_scripting/scripting/api/ScriptingGraphics.cpp:532–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532void ScriptingObjects::ScriptShader::renderWasFinished(ScreenshotListener::CachedImageBuffer::Ptr newData)
533{
534 if (screenshotPending)
535 {
536 DBG("REPAINT DONE");
537 screenshotPending = false;
538 lastScreenshot = newData;
539 }
540 else
541 lastScreenshot = nullptr;
542}
543
544ScreenshotListener::CachedImageBuffer::Ptr ScriptingObjects::ScriptShader::getScreenshotBuffer()
545{

Callers 1

performMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected