nw::demo::DisplayBufferSwapper::Description Structure

Syntax

struct Description
{
   ScreenKind screenKind;
   s32 width;
   s32 height;
   gfx::RenderColorFormat format;
   BufferTransferMode transferMode;
   nw::gfx::GraphicsMemoryArea memoryArea;
   bool isTransferFlipX;
   s32 transferOffsetX;
   s32 transferOffsetY;
   s32 displayOffsetX;
   s32 displayOffsetY;
   size_t bufferCount;
};

Description

Display buffer swapper settings.

Member Variables

screenKind The type of screen buffer.
width Width of the buffer.
height Height of the buffer.
format Color format of the buffer.
transferMode Transfer mode of the buffer.
memoryArea The memory area where the buffer is located.
isTransferFlipX Indicates whether to flip in the X direction during transfer.
transferOffsetX X coordinate of start point for transfer.
transferOffsetY Y coordinate of start point for transfer.
displayOffsetX X coordinate of start point for display.
displayOffsetY Y coordinate of start point for display.
bufferCount Number of display buffers.

Member Functions

Description Constructor.

CONFIDENTIAL