Go to: Synopsis. Return value. Keywords. Flags. Python examples.

Synopsis

frameBufferName([autoTruncate=boolean], [camera=string], [renderLayer=string], [renderPass=string])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

frameBufferName is NOT undoable, NOT queryable, and NOT editable.

Returns the frame buffer name for a given renderPass renderLayer and camera combination. Optionally, this command can apply a name truncation algorithm so that the frameBuffer name will respect the maximum length imposed by the destination file format, if applicable.

Return value

stringCommand result

Keywords

render, pass

Flags

autoTruncate, camera, renderLayer, renderPass
Long name (short name) Argument types Properties
autoTruncate(a) boolean create
use this flag to apply a name truncation algorithm so that the frameBuffer name will respect the maximum length imposed by the destination file format, if applicable.
camera(c) string create
Specify a camera
renderLayer(l) string create
Specify a renderer layer
renderPass(p) string create
Specify a renderer pass

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 have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds


cmds.frameBufferName(renderLayer='layer1', renderPass='renderPass1', camera='camera1')