Init (Renderer)


Description

This callback is called when the Render Manager needs the plug-in to describe what operations the renderer can perform, which file formats it supports, any properties it provides, and, in case it supports exporting, which file extension to use for archives.

The plug-in must provide at least one process type, one file format and register a property to use to control the renderer (with the siRenderPropertyOptions enumeration value). If any of these are missing, the registration fails.


Applies To

Custom Renderers


Syntax

CStatus <renderer_name>_Init( 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.


See Also