Rhino C++ API  8.30
Public Member Functions | Protected Member Functions | List of all members
IRhRdkRenderWindow::IPostEffectExecutionControl Class Referenceabstract

#include <IRhRdkRenderWindow.h>

Public Member Functions

virtual void DeleteThis (void)=0
 
virtual void * EVF (const wchar_t *, void *)=0
 
virtual bool ReadyToExecutePostEffect (const ON_UUID &post_effect_id) const =0
 

Protected Member Functions

virtual ~IPostEffectExecutionControl ()
 

Detailed Description

This is an extension interface that can be optionally implemented by renderers to control the execution of post effects.

To use this, implement the interface and pass a new instance of the implementation to RegisterPostEffectExecutionControl().

Constructor & Destructor Documentation

◆ ~IPostEffectExecutionControl()

virtual IRhRdkRenderWindow::IPostEffectExecutionControl::~IPostEffectExecutionControl ( )
inlineprotectedvirtual

Member Function Documentation

◆ DeleteThis()

virtual void IRhRdkRenderWindow::IPostEffectExecutionControl::DeleteThis ( void  )
pure virtual

This method is implemented as

delete this;

◆ EVF()

virtual void* IRhRdkRenderWindow::IPostEffectExecutionControl::EVF ( const wchar_t *  ,
void *   
)
pure virtual

Emergency virtual function for future expansion.

◆ ReadyToExecutePostEffect()

virtual bool IRhRdkRenderWindow::IPostEffectExecutionControl::ReadyToExecutePostEffect ( const ON_UUID post_effect_id) const
pure virtual

Allows the renderer to decide when a post effect should be executed.

Returns
true if the renderer is ready to execute the specified post effect, else false.