nn::gr::CTR::Texture::Unit0 Class

Syntax

class Unit0 : public nn::gr::CTR::Texture::UnitBase

Description

Class for setting texture unit 0.

Member Variables

texType Sets the texture unit 0 sampler type. The type is PicaDataTexture0SamplerType. Use a PicaDataTexture0SamplerType enumerated constant from the PICA macro header. The initial value is PICA_DATA_TEXTURE0_SAMPLER_TYPE_TEXTURE_FALSE.
cubeMapAddrPosX Sets the cube map [+x] texture's physical address. Type is u32.
cubeMapAddrNegX Sets the cube map [-x] texture's physical address. Type is u32.
cubeMapAddrPosY Sets the cube map [+y] texture's physical address. Type is u32.
cubeMapAddrNegY Sets the cube map [-y] texture's physical address. Type is u32.
cubeMapAddrPosZ Sets the cube map [+z] texture's physical address. Type is u32.
cubeMapAddrNegZ Sets the cube map [-z] texture's physical address. Type is u32.

Member Functions

MakeCommand Generates a command for setting texture unit 0 based on information already set.
Unit0 Sets the initial value.

Class Hierarchy

nn::gr::CTR::Texture::UnitBase
  nn::gr::CTR::Texture::Unit0

Revision History

2010/09/15
Initial version.

CONFIDENTIAL