CreateFramebuffer

Introduced

v6.0

Description

Creates a new Framebuffer on each of the given Pass(es). A framebuffer controls where, and with which file format, the contents of a RenderChannel are output.

Each render channel can be represented by multiple framebuffers.

Scripting Syntax

oReturn = CreateFramebuffer( [Passes], Name );

Return Value

Returns the newly created FramebufferCollection object.

Parameters

Parameter Type Description
Passes String List of passes to create the framebuffer on

Default Value: Current pass

Name String Name of the render channel to base the framebuffer upon.

See Also

Framebuffer CreateRenderChannel RemoveRenderChannel