Rhino C++ API  8.14
Public Member Functions | List of all members
IRhRdkAsyncRenderContext Class Referenceabstract

#include <RhRdkSdkRender.h>

Public Member Functions

virtual ~IRhRdkAsyncRenderContext ()
 
virtual void DeleteThis (void)=0
 
virtual void * EVF (const wchar_t *, void *)=0
 
virtual void OnQuietRenderFinished (const IRhRdkRenderSession &session)=0
 
virtual void PauseRendering (void)=0
 
virtual void ResumeRendering (void)=0
 
virtual void StopRendering (void)=0
 
virtual bool SupportsPause (void) const =0
 

Constructor & Destructor Documentation

◆ ~IRhRdkAsyncRenderContext()

virtual IRhRdkAsyncRenderContext::~IRhRdkAsyncRenderContext ( )
inlinevirtual

Member Function Documentation

◆ DeleteThis()

virtual void IRhRdkAsyncRenderContext::DeleteThis ( void  )
pure virtual

You must implement this method as

delete this;

◆ EVF()

virtual void* IRhRdkAsyncRenderContext::EVF ( const wchar_t *  ,
void *   
)
pure virtual

Emergency virtual function for future expansion.

◆ OnQuietRenderFinished()

virtual void IRhRdkAsyncRenderContext::OnQuietRenderFinished ( const IRhRdkRenderSession session)
pure virtual

Implement this to be notified when a quiet rendering is finished.

◆ PauseRendering()

virtual void IRhRdkAsyncRenderContext::PauseRendering ( void  )
pure virtual

Implement this method to pause rendering.

◆ ResumeRendering()

virtual void IRhRdkAsyncRenderContext::ResumeRendering ( void  )
pure virtual

Implement this method to resume (i.e., un-pause) rendering.

◆ StopRendering()

virtual void IRhRdkAsyncRenderContext::StopRendering ( void  )
pure virtual

Called when RDK wants rendering to stop, for example when the user closes the window during rendering. You should stop rendering as soon as possible and only return when you are certain that your renderer will not attempt to access the render window again.

◆ SupportsPause()

virtual bool IRhRdkAsyncRenderContext::SupportsPause ( void  ) const
pure virtual

Implement this method to return true if your renderer supports pause / resume, else false.