tpl - ReadTexturePackage2 Demo

Description

This texture package file sample configures settings such as use of compressed textures and mipmap settings.

Required Environment

None.

How to Use

None.

Notes

None.

Execution Procedure

When this demo is run, it displays the following log.

Reading data from ROMFS...
  fileSize = 3527552 (Byte)
  readSize = 3527552 (Byte)
TextureInfo width = 256, height = 256, size = 174080

Reading data from ROMFS...
  fileSize = 3527552 (Byte)
  readSize = 3527552 (Byte)
TextureInfo width = 256, height = 256, size = 40960

Reading data from ROMFS...
  fileSize = 3527552 (Byte)
  readSize = 3527552 (Byte)
TextureInfo width = 256, height = 256, size = 40960

Reading data from ROMFS...
  fileSize = 3527552 (Byte)
  readSize = 3527552 (Byte)
TextureInfo width = 256, height = 256, size = 81920

After the above log output completes, texture images for each of the following four types of formats are displayed in order on the upper screen:
RGBA4444, ETC1, L4, and ETC1_a4.

A mipmap is also displayed because the polygon to which the texture is applied moves from the back to the front of the screen.
Texture combiner switching is also performed.

There is no shutdown procedure.
Texture images are switched and displayed. Stop execution in a timely manner.

Revision History

2011/02/02
Initial version.

CONFIDENTIAL