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 | 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. |
Description
|
Constructor. |
|---|
CONFIDENTIAL