nn::gd::CTR::Resource::UnmapTexture2DResource Member Function

Syntax

static nnResult UnmapTexture2DResource(
     Texture2DResource * texture2DResource
);

Parameters

Name Description
in texture2DResource Specifies the pointer to the 2D texture resource to be released.

Return Values

Returns the result of the operation.
Value Description
Result::IsSuccess Process was successful.
ResultNullParameter NULL was specified in an argument.
ResultResourceNotMapped Resource meant to be released is not mapped.

Description

Releases the data pointer to a resource.

Flushes the memory cache based on the memory type and usage method.

Revision History

2011/02/17
Initial version.

CONFIDENTIAL