MakeCommand

nn::gr::CTR::FrameBuffer::MakeCommand Member Function

Syntax

bit32 * MakeCommand(
     bit32 * command,
     const u32 bufferBit,
     bool isClearCache = true
) const;

Parameters

Name Description
in command The start address for storing the rendering command.
in bufferBit Render buffer type. Specify a value such as COLOR_BUFFER_BIT | DEPTH_STENCIL_BUFFER_BIT.
in isClearCache Calls first the cache clear method of framebuffer MakeClearCacheCommand.

Return Values

Returns the address that follows the end of the stored rendering command.

Description

Generates a command for setting the framebuffer based on information already set.

See Also

FrameBuffer::ColorBuffer
FrameBuffer::DepthStencilBuffer

Revision History

2010/10/25
Initial version.

CONFIDENTIAL