nw::lyt::TextureInfo::Set Member Function
void Set(
const TextureInfo & src
);
void Set(
u32 texObject,
uptr physicalAddress,
const TexSize & size,
const TexSize & realSize,
TexFormat format
);
| Set ( const TextureInfo & ) | Sets texture information. |
| Set ( u32, uptr, const TexSize &, const TexSize &, TexFormat ) | Sets texture information. |
Copies all settings.
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.
CONFIDENTIAL