Home -> IRenderPassNode -> BindFrameBuffer

Description

The BindFrameBuffer method sets the IFrameBuffer object to use for this render pass during the rendering process.

ImportantImportant

It is possible to change the bound IFrameBuffer after one has been associated, even while an IRenderPassNode is currently bound to the scene tree. Like all object state changes, this modification will not affect the frame currently being drawn, but will take effect next frame.

WarningWarning

You must ensure a IFrameBuffer object has been associated with a IRenderPassNode before it is attempted to be used in the rendering process, or an error will result.

Usage

void BindFrameBuffer(IFrameBuffer* frameBuffer);

Argument list

frameBuffer [IFrameBuffer*]
The IFrameBuffer object to use when rendering this render pass

See also