setMainFrameBufferTemporarily

inline fun <T> setMainFrameBufferTemporarily(frameBuffer: AGFrameBuffer, block: () -> T): T