<?xml version="1.0"?>
<!DOCTYPE renderer SYSTEM "renderer.dtd">
<!--
  Top level tag, mandatory:
   <renderer>: "desc" gives a one line description.

  Header tags, not mandatory, must be specified only once.
   <melheader>: "s" is a mel script executed just after the file is read 
   <meltrailer>: "s" is a mel script executed after all flags are converted
      to mel. Should contain at least the rendering command.

  Other tags:
   <sep>: "desc" produces a line in the help. Blank if desc is missing.
   <attr>: produces a setAttr line.
      "n" is the flag name.
      "s" the attribute name.
      "t" the parameter type, used in help description.
      "h" the help description.
   <attrString>: produces a setAttr line for a string attribute.
      Same paramters as <attr>, but for string attributes.
   <mel>: Calls a mel script.
      "n" is the flag name.
      "p" the number of parameters.
      "s" the string defining the action %1 ... %p are replaced with values
            read after the flag.
      "t" the parameter types, used in help description.
      "h" the help description.
-->
<renderer desc="Interactive batch rendering">
	<melheader s='string $opt = ""; string $rl=""; string $rp=""; float $resize=-1.; int $interactive=0; select defaultRenderGlobals; setAttr .renderAll 1'/>
	<meltrailer s='setMayaSoftwareLayers($rl, $rp); if (`pluginInfo -q -l Mayatomr`) {miCreateMentalJobs();} setImageSizePercent($resize); mayaBatchRenderProcedure($interactive, "", "", "", $opt);'/>
	<sep/>
	<!-- only one flag currently needed, and only used by software render -->
	<mel n="n" s="setAttr .numCpusToUse %1; if(!`about -mac`) { threadCount -n %1; }" p="1" t="int" h="Number of processors to use (0 indicates use all\n\tavailable)"/>
</renderer>
