class UnitBase
Class for making common settings for each texture unit.
| physicalAddr | Sets the texture's physical address. Type is u32. | |
|---|---|---|
| width | Sets the texture width. Type is u16. | |
| height | Sets the texture height. Type is u16. | |
| format | Sets the texture format. The type is PicaDataTextureFormat. The value should be a PicaDataTextureFormat enumerated constant from the PICA macro header. | |
| wrapT | Sets the texture coordinates. The type is PicaDataTextureWrap. The value should be a PicaDataTextureWrap enumerated constant from the PICA macro header. The initial value is PICA_DATA_TEXTURE_WRAP_REPEAT. | |
| wrapS | Sets the texture coordinates. The type is PicaDataTextureWrap. The value should be a PicaDataTextureFormat enumerated constant from the PICA macro header. The initial value is PICA_DATA_TEXTURE_WRAP_REPEAT. | |
magFilter
|
Sets the texture magnification filter. The type is PicaDataTextureMagFilter. The value should be a PicaDataTextureMagFilter enumerated constant from in the PICA macro header. The initial value is PICA_DATA_TEXTURE_MAG_FILTER_NEAREST. | |
minFilter
|
Sets the texture minimization filter. The type is PicaDataTextureMinFilter. The value should be a PicaDataTextureMinFilter enumerated constant from the PICA macro header. The initial value is PICA_DATA_TEXTURE_MIN_FILTER_NEAREST. | |
| lodBias | Sets the LOD bias. Type is f32. The initial value is 0.f. Set in the range [-16.f, 16.f]. | |
| minLodLevel | Sets the minimum LOD level. Type is u8. The initial value is 0. Specify a value of 0 or more. | |
| maxLodLevel | Sets the minimum LOD level. Type is u8. The initial value is 0. | |
| borderColorR | The red component of the border color. Type is u8. The initial value is 0. | |
| borderColorG | The green component of the border color. Type is u8. The initial value is 0. | |
| borderColorB | The blue component of the border color. Type is u8. The initial value is 0. | |
| borderColorA | The alpha component of the border color. Type is u8. The initial value is 0. |
| protected | IsEnableMipMap | Determines whether MipMap is enabled. |
|---|---|---|
| protected | UnitBase | Sets the initial value. |
CONFIDENTIAL