nw::lyt::TextureInfo::TextureInfo Constructor

Syntax

TextureInfo();

TextureInfo(
     const TextureInfo & src
);

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

List of Overloaded Member Functions

TextureInfo ( ) Constructor.
TextureInfo ( const TextureInfo & ) Copy constructor.
TextureInfo ( u32, uptr, const TexSize &, const TexSize &, TexFormat ) Constructor.

Description of TextureInfo ( )

Thsi function initializes using the handle (0) and size (0, 0) of an invalid texture object.

Description of TextureInfo ( const TextureInfo & )

Copy constructor.

Description of TextureInfo ( u32, uptr, const TexSize &, const TexSize &, TexFormat )

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.


CONFIDENTIAL