nn::gd::CTR::Memory::ClearTargets Member Functionstatic nnResult ClearTargets( const RenderTarget * renderTarget, const DepthStencilTarget * depthStencilTarget, const u8 ColorRGBA[4], float depth, u8 stencil );
| Name | Description | |
|---|---|---|
| in | renderTarget | Specifies a pointer to the render target to be cleared. |
| in | depthStencilTarget | Specifies a pointer to the depth stencil target to be cleared. |
| in | ColorRGBA[4] | Specifies a color value for the RGB format used by the render target to be cleared. |
| in | depth | Specifies a depth value for the depth stencil target to be cleared. |
| in | stencil | Specifies a stencil value for the depth stencil target to be cleared. |
| Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultInvalidTextureFormat |
Indicates that the pixel format of the specified render target or depth stencil target is invalid. |
Adds a command for clearing the specified target memory.
CONFIDENTIAL