nn::gr::CTR::FrameBuffer Classclass FrameBuffer
Class for configuring framebuffer settings.
nn::gr::CTR::FrameBuffer::ColorBuffer
|
Class for configuring color buffer settings. |
|---|---|
nn::gr::CTR::FrameBuffer::DepthStencilBuffer
|
Class for configuring depth and stencil buffer settings. |
BlockSize
|
Enumerated type definition for setting block sizes. |
|---|
| S |
COLOR_BUFFER_BIT
|
Bit specifying the color buffer. |
|---|---|---|
| S |
DEPTH_BUFFER_BIT
|
Bit specifying the depth buffer. |
| S |
STENCIL_BUFFER_BIT
|
Bit specifying the stencil buffer. |
| S |
DEPTH_STENCIL_BUFFER_BIT
|
Bit specifying the depth and stencil buffers. |
| colorBuffer | The color buffer setting. Type is nn::gr::CTR::FrameBuffer::ColorBuffer. |
|
|---|---|---|
| depthStencilBuffer | The depth and stencil buffer setting. Type is nn::gr::CTR::FrameBuffer::DepthStencilBuffer. |
|
| width | Width of the framebuffer. Type is f32. |
|
| height | Height of the framebuffer. Type is f32. |
FrameBuffer
|
Initializes framebuffer settings to the initial values. | |
|---|---|---|
MakeCommand
|
Generates a command for setting the framebuffer based on information already set. | |
MakeClearRequest
|
Generates a request to clear the color buffer and the depth/stencil buffer. When the isSplitDrawCmdlist argument is false, you must call the nngxSplitDrawCmdlist function before calling the request. |
|
| S |
MakeClearCacheCommand
|
Clears the framebuffer cache. Must be called after rendering and before changing registers 0x100-0x130. |
CONFIDENTIAL