nn::dbg::CTR::DirectPrint::ChangeDisplaybuffer Member Function#include <nn/dbg.h>
void ChangeDisplaybuffer(
void * dispbuf,
GLenum format,
const nn::math::VEC2 & size
);
void ChangeDisplaybuffer(
void * dispbuf
);
ChangeDisplaybuffer ( void *, GLenum, const nn::math::VEC2 & )
|
Specifies the display buffer to write to. |
ChangeDisplaybuffer ( void * )
|
Specifies the display buffer to write to. |
ChangeDisplaybuffer ( void *, GLenum, const nn::math::VEC2 & )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.
ChangeDisplaybuffer ( void * )VRAM cannot be specified in dispbuf. The display buffer must be placed in the device memory.
Uses format and size as previously set. This is convenient if the format and size remain unchanged from the previous settings.
CONFIDENTIAL