nn::gd::CTR::Memory Class

Syntax

class Memory

Description

Memory operations are used when performing tasks such as copy memory (layout conversion block image <-> linear image, filtering) and fill memory.

The memory function internally calls the nngx function. The result of these functions can be obtained after command execution completes because a request command is added to the command list.

Classes

nn::gd::CTR::Memory::Rect 2D memory region.

Enumerated Types

MemoryLocation This is a memory type enum value.
MemoryLayout Memory layout definition.
DownScalingMode This is an anti-aliasing filter mode enum value.

Member Functions

S ClearTexture2DResource Clears Texture2DResource resources using the color specified in the argument Components.
S ClearTargets Adds a command for clearing the specified target memory.
S CopyTextureSubResource Adds a command to the current command list for transferring a source Texture2DResource texture to the destination Texture2DResource texture.
S CopyVertexBufferSubResource Copies data from the source vertex buffer to the destination vertex buffer.
S CopyTexture2DResourceBlockToLinear Adds a command for converting the source Texture2DResource resource from a block image to a linear image and transferring it to the destination Texture2DResource.
S CopyTexture2DResourceLinearToBlock Adds a command for converting the source Texture2DResource resource from a block image to a linear image and transferring it to the specified Texture2DResource to the current command list.
S GenerateMipMaps Creates a Texture2DResource resource mipmap.

Revision History

2011/02/15
Initial version.

CONFIDENTIAL