Renderer.OutputFormats

Description

Returns a two-dimensional StringArray containing a list of output image format name and extension pairs that this rendering engine can write rendered images as.

Examples

JScript Example

var oMentalRay = Application.Renderers( "mental ray" )
var oFormats = new VBArray( oMentalRay.OutputFormats ).toArray();
var aFormatList = new Array( );
for( var i = 0; i < oFormats.length; i += 2 )
        aFormatList.push( oFormats[ i ] + " (\"" + oFormats[ i + 1 ] + "\")" );
LogMessage( "  Provided output formats: " + aFormatList.join( ", " ) );