nw::demo::DisplayBufferSwapper::MakeTransferBufferCommand Member Function

Syntax

void MakeTransferBufferCommand(
     gfx::IRenderTarget * target,
     bool isMultiCommandList
);

Arguments

Name Description
in target Buffer to be transferred to the display buffer.
in isMultiCommandList Specifies whether or not the command list is multiplexed.

Return Values

None.

Description

Adds a command to the command list to transfer the target buffer to the display buffer.

Creates a command to transfer the render buffer to the display buffer and adds this command to the bound command list.

If the command list is multiplexed, the timing of the execution of the command transfer will change, so the display buffer to which the buffer is transferred will change. By specifying true for isMultiCommandList this change will be done automatically.


CONFIDENTIAL