nw::demo::RenderSystem::Description Structure

Syntax

struct Description
{
   DisplayBufferSwapper::Description upperScreenDescription;
   DisplayBufferSwapper::Description lowerScreenDescription;
   gfx::RenderColorFormat renderColorFormat;
   size_t commandBufferSize;
   size_t commandRequestCount;
   size_t reusableCommandBufferSize;
   size_t reusableCommandRequestCount;
   UpperScreenMode upperScreenMode;
   size_t commandListCount;
   size_t displayBufferCount;
   size_t maxGpuProfilingEntryCount;
};

Description

Render system settings.

Structures

nw::demo::RenderSystem::Description::ScreenOffset Represents the screen offset.
nw::demo::RenderSystem::Description::ScreenSize Represents the screen size to be rendered.

Member Variables

upperScreenDescription DisplayBufferSwapper::Description Setting information for the display buffer swapper for the upper screen.
lowerScreenDescription DisplayBufferSwapper::Description Setting information for the display buffer swapper for the lower screen.
renderColorFormat gfx::RenderColorFormat Represents the screen's color format.
commandBufferSize size_t Represents the size of the command buffer.
commandRequestCount size_t Represents maximum number of command requests.
reusableCommandBufferSize size_t The buffer size for reusable command list.
reusableCommandRequestCount size_t The maximum number of command lists for reusable command lists.
upperScreenMode UpperScreenMode Upper screen mode.
commandListCount size_t The number of command lists being created.
displayBufferCount size_t The number of display buffers being created.
maxGpuProfilingEntryCount size_t The maximum number of GPU profiler entries in the command list.

Member Functions

Description Constructor. Sets the default value when not displaying in 3D.

CONFIDENTIAL