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.
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.
Parameter | Language | Type | Description |
---|---|---|---|
in_context | C++ | CRef& | A reference to the RendererContext object. Context::GetSource returns the Renderer. |
Attribute | Type | Description |
---|---|---|
RenderID | unsigned int | (Optional) The unique identifier for this particular rendering job. |