OfxImageEffectOpenGLRenderSuiteV1::flushResources
— Request the host to minimize its GPU resource load
#include "ofxOpenGLRender.h"
OfxStatus
(*flushResources)
(
|
)
;
|
When a plugin fails to allocate GPU resources, it can call this function to request the host to flush it's GPU resources if it holds any. After the function the plugin can try again to allocate resources which then might succeed if the host actually has released anything.
\pre \post
kOfxStatOK
- the host has actually released some
resources,
kOfxStatReplyDefault
- nothing the host could do..