nw::demo::RenderSystem::PresentBuffer Member Function

Syntax

void PresentBuffer(
     s32 screenKind
);

Arguments

Name Description
in screenKind Type of screen to wait for VSync and swap.

Return Values

None.

Description

Waits for VSync, shows the display buffer and executes the command list.

If there are multiple command lists, this function processes in the following order:
1. Waits for the end of executing command list
2. Makes a display buffer swap reservation
3. Waits for VSync
4. Asynchronously executes the accumulated command list
5. Swaps command lists

If there is only one command list, the function processes as follows:
1. Synchronously executes the accumulated command list
2. Makes a display buffer swap reservation
- Waits for VSync


CONFIDENTIAL