Cancel a render

Need c++ code to cancel/stop a render.....


  • rbtwhizrbtwhiz Posts: 1,826
    edited January 2017
    DzRendererMgr* renderMgr = dzApp->getRenderMgr();
    if( DzRenderer* renderer = renderMgr->getActiveRenderer() )
    	if( renderer->isRendering() )

    The above is written from memory, while on a phone, standing on a moving train. There may be errors... but it should serve as enough of an example to give you an idea on how it's done.


    Post edited by rbtwhiz on
  • Thats good enough for me!!! thanks

Sign In or Register to comment.