nn::gd::CTR::Texture2DProperties

nn::gd::CTR::Texture2DProperties Class

Syntax

class Texture2DProperties

Description

Detailed information about 2D textures.

Member Variables

m_Width u32 Width of the 2D texture.
m_Height u32 Height of the 2D texture.
m_CountMipLevels u32 The number of mipmap levels used by the 2D texture.
m_PixelSize u32 The pixel size of the pixel format used in memory.
m_Format Resource::NativeFormat The pixel format of the 2D texture.
m_MemLayout Memory::MemoryLayout The memory layout of the 2D texture.
m_MemLocation Memory::MemoryLocation The memory type of the 2D texture. Indicates the memory location for the data.
m_MemAddr u8 * The physical address of 2D texture resource data.

Member Functions

GetMipmapAddress This helper function gets information about a particular mipmap level from a 2D texture.

Revision History

2011/02/15
Initial version.

CONFIDENTIAL