nw::lyt::TextureInfo::Set Member Function

Syntax

void Set(
     u32 texObject,
     uptr physicalAddress,
     const TexSize & size,
     const TexSize & realSize,
     TexFormat format
);

Arguments

Name Description
texObject The texture object handle.
physicalAddress The physical address of the texture image.
size The size of the area used (width and height).
realSize The texture size (width and height).
format The texture format.

Return Values

None.

Description

Sets texture information.

This function sets the specified value.

Use it when using part of a texture image. The width and height given by realSize must be powers of two.

The texture image must be placed in device memory.

texObject is used for normal drawing.

physicalAddress is used when drawing using Drawer.

Revision History

2009/09/18
Initial version.
2010/05/14
Added the physcialAddress argument.
2010/04/23
Added the format argument.

CONFIDENTIAL