Cleanup


Description

This optional callback is used by the Render Manager to instruct the rendering engine to clean up all data created by it by previous Process callback. The two callbacks are guaranteed to always be called one after the other, never at the same time.


Applies To

Custom Renderers


Syntax

CStatus <renderer_name>_Cleanup( CRef& in_context )
{ 
        ... 
}

<renderer_name> is the name specified in the call to PluginRegistrar::RegisterRenderer, with any spaces converted to underscores.


Parameters

Parameter Language Type Description
in_context C++ CRef& A reference to the RendererContext object. Context::GetSource returns the Renderer.

Context Attributes

Attribute Type Description
RenderID unsigned int (Optional) The unique identifier for this particular rendering job.

See Also