nn::gd::CTR::System::FlushDirtyModule Member Function
static void FlushDirtyModule(
u32 flag
);
| Name | Description | |
|---|---|---|
| in | flag |
Specifies the module for creating 3D commands. Each bit of the flag corresponds to a specified module (SystemModule enum table.) If System::MODULE_ALL is specified, all reconfigured module commands are created immediately. |
Creates a redraw status module command. This flag can be specified by OR'ing System::Module enum members.
Usually, when a given parameter or state is in redraw status, the gd API creates the 3D commands required when the next drawing command is executed. However, if this API function is executed, 3D commands for modules in redraw status will be created immediately.
Although this function does not itself return errors, if an error occurs in the rendering process, the callback set by the nn::gd::CTR::System::SetCallbackFunctionError function is called.
The errors generated are as shown below.
CONFIDENTIAL