nn::dbg::CTR::DirectPrint::ChangeDisplaybuffer Member Function#include <nn/dbg.h>
void ChangeDisplaybuffer(
void * dispbuf,
GLenum format,
const nn::math::VEC2 & size
);
| Name | Description | |
|---|---|---|
| in | dispbuf | The starting address of the display buffer being written to. |
| in | format | The format of the target display buffer. |
| in | size | The size of the target display buffer. (The size with upper-left origin from user's point of view.) |
Specifies the display buffer to write to.
VRAM cannot be specified in dispbuf. The display buffer must be placed in the device memory.
Use nngxGetDisplaybufferParameteri to get the values that should be passed to dispbuf , format, and size. The values passed to size are specified by height and width (normally width) from the user's point of view. Note that the values obtained by nngxGetDisplaybufferParameteri are reversed for height and width.
CONFIDENTIAL