nw::demo::DisplayBufferSwapper::Description Structurestruct 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;
};
Display buffer swapper settings.
| screenKind | ScreenKind | The type of screen buffer. | |
|---|---|---|---|
| width | s32 | Width of the buffer. | |
| height | s32 | Height of the buffer. | |
| format | gfx::RenderColorFormat |
Color format of the buffer. | |
| transferMode | BufferTransferMode | Transfer mode of the buffer. | |
| memoryArea | nw::gfx::GraphicsMemoryArea |
The memory area where the buffer is located. | |
| isTransferFlipX | bool | Indicates whether to flip in the X direction during transfer. | |
| transferOffsetX | s32 | X coordinate of start point for transfer. | |
| transferOffsetY | s32 | Y coordinate of start point for transfer. | |
| displayOffsetX | s32 | X coordinate of start point for display. | |
| displayOffsetY | s32 | Y coordinate of start point for display. | |
| bufferCount | size_t | Number of display buffers. |
Description
|
Constructor. |
|---|
CONFIDENTIAL