nw::lyt::TexResource Class

Syntax

class TexResource

Description

This class is used to access texture image resource files.

You can use the ArcUtil class to get texture image resources inside an archive file.

Member Functions

Set/Get
IsValid Gets whether an enabled resource file has been configured.
Set Specifies the resource file to be accessed.
GetImageAddress Gets the address of the texture image.
GetImageSize Gets the size of the texture image.
GetFormat Gets the format of the texture image.
Is4bitFormat Checks if the texture image uses a 4-bit format.
GetWidth Gets the width of the texture image (as a number of pixels).
GetHeight Gets the height of the texture image (as a number of pixels).
GetImageArea Gets the layout specification of the texture image.
SetImageArea Sets the texture image location.
GetResImage Gets res::Image.
Constructors and Destructors
TexResource Constructor.

See Also

res::Lim
ArcUtil

Revision History

2011/02/28
Initial version.

CONFIDENTIAL