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

// C++
CStatus <renderer_name>_Init( CRef& in_context )
{ 
   ... 
}

<renderer_name> is the name specified in the call to RegisterRenderer with any spaces removed.

Parameters

Parameter

Language

Type

Description

in_context

C++

CRef &

A reference to the RendererContext object. Context::GetSource returns the Renderer .

See Also

Process

Abort

Cleanup

Quality

Query

Renderer Callbacks



Autodesk Softimage v7.5