Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
renderer [-addGlobalsNode string] [-addGlobalsTab string string string] [-batchRenderOptionsProcedure string] [-batchRenderOptionsStringProcedure string] [-batchRenderProcedure string] [-cancelBatchRenderProcedure string] [-changeIprRegionProcedure string] [-commandRenderProcedure string] [-exists] [-globalsNodes] [-globalsTabCreateProcNames] [-globalsTabLabels] [-globalsTabUpdateProcNames] [-iprOptionsMenuLabel string] [-iprOptionsProcedure string] [-iprOptionsSubMenuProcedure string] [-iprRenderProcedure string] [-iprRenderSubMenuProcedure string] [-isRunningIprProcedure string] [-logoCallbackProcedure string] [-logoImageName string] [-materialViewRendererList] [-materialViewRendererPause boolean] [-materialViewRendererSuspend boolean] [-namesOfAvailableRenderers] [-pauseIprRenderProcedure string] [-polyPrelightProcedure string] [-refreshIprRenderProcedure string] [-renderDiagnosticsProcedure string] [-renderGlobalsProcedure string] [-renderMenuProcedure string] [-renderOptionsProcedure string] [-renderProcedure string] [-renderRegionProcedure string] [-renderSequenceProcedure string] [-rendererUIName string] [-renderingEditorsSubMenuProcedure string] [-showBatchRenderLogProcedure string] [-showBatchRenderProcedure string] [-showRenderLogProcedure string] [-startIprRenderProcedure string] [-stopIprRenderProcedure string] [-supportColorManagement boolean] [-textureBakingProcedure string] [-unregisterRenderer] [string]
renderer is NOT undoable, queryable, and editable.
Command to register renders. This command allows you to specify the UI name and procedure names for renderers. The command also allow you to query the UI name and the procedure names for the registered renders.None
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-addGlobalsNode(-agn)
|
string
|
|||
|
||||
-addGlobalsTab(-agt)
|
string string string
|
|||
|
||||
-batchRenderOptionsProcedure(-bro)
|
string
|
|||
|
||||
-batchRenderOptionsStringProcedure(-bso)
|
string
|
|||
|
||||
-batchRenderProcedure(-br)
|
string
|
|||
|
||||
-cancelBatchRenderProcedure(-cbr)
|
string
|
|||
|
||||
-changeIprRegionProcedure(-cir)
|
string
|
|||
|
||||
-commandRenderProcedure(-cr)
|
string
|
|||
|
||||
-exists(-ex)
|
|
|||
|
||||
-globalsNodes(-gn)
|
|
|||
|
||||
-globalsTabCreateProcNames(-gtc)
|
|
|||
|
||||
-globalsTabLabels(-gtl)
|
|
|||
|
||||
-globalsTabUpdateProcNames(-gtu)
|
|
|||
|
||||
-iprOptionsMenuLabel(-ipm)
|
string
|
|||
|
||||
-iprOptionsProcedure(-io)
|
string
|
|||
|
||||
-iprOptionsSubMenuProcedure(-ips)
|
string
|
|||
|
||||
-iprRenderProcedure(-ipr)
|
string
|
|||
|
||||
-iprRenderSubMenuProcedure(-irs)
|
string
|
|||
|
||||
-isRunningIprProcedure(-isr)
|
string
|
|||
|
||||
-logoCallbackProcedure(-lgc)
|
string
|
|||
|
||||
-logoImageName(-log)
|
string
|
|||
|
||||
-materialViewRendererList(-mvl)
|
|
|||
|
||||
-materialViewRendererPause(-mvp)
|
boolean
|
|||
|
||||
-materialViewRendererSuspend(-mvs)
|
boolean
|
|||
|
||||
-namesOfAvailableRenderers(-ava)
|
|
|||
|
||||
-pauseIprRenderProcedure(-psi)
|
string
|
|||
|
||||
-polyPrelightProcedure(-pp)
|
string
|
|||
|
||||
-refreshIprRenderProcedure(-rfi)
|
string
|
|||
|
||||
-renderDiagnosticsProcedure(-rd)
|
string
|
|||
|
||||
-renderGlobalsProcedure(-rg)
|
string
|
|||
|
||||
-renderMenuProcedure(-rm)
|
string
|
|||
|
||||
-renderOptionsProcedure(-ro)
|
string
|
|||
|
||||
-renderProcedure(-r)
|
string
|
|||
|
||||
-renderRegionProcedure(-rr)
|
string
|
|||
|
||||
-renderSequenceProcedure(-rs)
|
string
|
|||
|
||||
-rendererUIName(-ui)
|
string
|
|||
|
||||
-renderingEditorsSubMenuProcedure(-res)
|
string
|
|||
|
||||
-showBatchRenderLogProcedure(-brl)
|
string
|
|||
|
||||
-showBatchRenderProcedure(-sbr)
|
string
|
|||
|
||||
-showRenderLogProcedure(-srl)
|
string
|
|||
|
||||
-startIprRenderProcedure(-sti)
|
string
|
|||
|
||||
-stopIprRenderProcedure(-spi)
|
string
|
|||
|
||||
-supportColorManagement(-scm)
|
boolean
|
|||
|
||||
-textureBakingProcedure(-tb)
|
string
|
|||
|
||||
-unregisterRenderer(-unr)
|
|
|||
|
Flag can appear in Create mode of command | Flag can appear in Edit mode of command |
Flag can appear in Query mode of command | Flag can be used more than once in a command. |
// To register a renderer called "myRenderer": // renderer myRenderer; // To edit a renderer called "myRenderer" with its rendererUIName // being "My Renderer": // renderer -edit -rendererUIName "My Renderer" myRenderer; // To register a renderer called "anotherRenderer" with all // its parameters specified. // renderer -rendererUIName "Another Renderer" -iprRenderProcedure "mayaSoftwareIprRender" -iprOptionsProcedure "" -isRunningIprProcedure "mayaSoftwareIsRunningIpr" -startIprRenderProcedure "mayaSoftwareStartIprRender" -stopIprRenderProcedure "mayaSoftwareStopIprRender" -refreshIprRenderProcedure "mayaSoftwareRefreshIprImage" -pauseIprRenderProcedure "mayaSoftwarePauseIprRender" -changeIprRegionProcedure "mayaSoftwareChangeIprRegion" -iprOptionsMenuLabel "IPR Tuning Options" -iprOptionsSubMenuProcedure "mayaSoftwareIprUpdateOptionsSubMenu" -iprRenderSubMenuProcedure "mayaSoftwareIprUpdateRenderSubMenu" -renderProcedure "mayaSoftwareRender" -renderOptionsProcedure "RenderOptions" -renderDiagnosticsProcedure "RenderDiagnostics" -commandRenderProcedure "render -batch" -batchRenderProcedure "BatchRender" -batchRenderOptionsProcedure "BatchRenderOptions" -batchRenderOptionsStringProcedure "mayaSoftwareBatchRenderOptionsString" -cancelBatchRenderProcedure "CancelBatchRender" -showBatchRenderProcedure "ShowBatchRender" -showRenderLogProcedure "" -showBatchRenderLogProcedure "" -renderRegionProcedure "mayaRenderRegion" -textureBakingProcedure "performConvertSolidTx" -polyPrelightProcedure "performPrelight" -renderingEditorsSubMenuProcedure "" -logoImageName "" -logoCallbackProcedure "" -supportColorManagement true anotherRenderer; // To add a render globals node the renderer uses: // renderer -edit -addGlobalsNode "defaultRenderGlobals" anotherRenderer; // To add the tabs associated with the specified renderer // for the unified render globals window, use the syntax // // renderer -edit // -addGlobalsTab globalsTabLabel // globalsTabCreateProcName // globalsTabUpdateProcName // renderer; // // where "globalsTabLabel" is the label of the tab, // "globalsTabCreatedProcName" is the name of the mel procedure // which is used to create the content in the tab. // and "globalsTabCreatedProcName" is the name of the mel procedure // which is used to update the content in the tab. // // Note that if you want to add a number of tabs, you need to repeat // this renderer command for each tab you wish to add, as shown below. // renderer -edit -addGlobalsTab "Maya Software" "createMayaSoftwareGlobalsTab" "updateMayaSoftwareGlobalsTab" anotherRenderer; // To get a list of unified render globals window tab labels associated // with the specified renderer. // renderer -query -globalsTabLabels anotherRenderer; // To get a list of names of mel procedures that are used to // create the unified render globals window tabs associated with // the specified renderer. // renderer -query -globalsTabCreateProcNames anotherRenderer; // To get a list of names of mel procedures that are used to // update the unified render globals window tabs associated with // the specified renderer. // renderer -query -globalsTabUpdateProcNames anotherRenderer; // To view a list of registered renderers. // renderer -query -namesOfAvailableRenderers; // To check if anotherRenderer exists. // renderer -exists anotherRenderer; // To view a list of render globals nodes used by the specified // renderer: // renderer -query -globalsNodes anotherRenderer;