nn::dbg::CTR::DirectPrint::ChangeDisplaybuffer Member Function

Syntax

#include <nn/dbg.h>

void ChangeDisplaybuffer(
     void * dispbuf,
     GLenum format,
     const nn::math::VEC2 & size
);

void ChangeDisplaybuffer(
     void * dispbuf
);

List of Overloaded Member Functions

ChangeDisplaybuffer ( void *, GLenum, const nn::math::VEC2 & ) Specifies the display buffer to write to.
ChangeDisplaybuffer ( void * ) Specifies the display buffer to write to.

Description of 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.

Description of 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