Cancel a render

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

Comments

  • rbtwhizrbtwhiz Posts: 2,250
    edited January 2017
    DzRendererMgr* renderMgr = dzApp->getRenderMgr();if( DzRenderer* renderer = renderMgr->getActiveRenderer() ){	if( renderer->isRendering() )	{		renderer->killRender();	}}

    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.

    -Rob

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

Sign In or Register to comment.