class UnitBase
Class for making common settings for each texture unit.
| physicalAddr | Sets the texture's physical address. Type is uptr. |
|
|---|---|---|
| width | Sets the texture width. Type is u16. | |
| height | Sets the texture height. Type is u16. | |
| format | Sets the texture format. Type is PicaDataTextureFormat. |
|
| wrapT | Sets the texture coordinates. Type is PicaDataTextureWrap. Initial value is PICA_DATA_TEXTURE_WRAP_REPEAT. |
|
| wrapS | Sets the texture coordinates. Type is PicaDataTextureWrap. Initial value is PICA_DATA_TEXTURE_WRAP_REPEAT. |
|
magFilter
|
Sets the texture magnification filter. Type is PicaDataTextureMagFilter. The initial value is PICA_DATA_TEXTURE_MAG_FILTER_NEAREST. |
|
minFilter
|
Sets the texture minimization filter. Type is PicaDataTextureMinFilter. 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. Initial value is 0. Specify a value of 0 or more. |
|
| maxLodLevel | Sets the minimum LOD level. Type is u8. Initial value is 0. |
|
| borderColorR | The red component of the border color. Type is u8. Initial value is 0. |
|
| borderColorG | The green component of the border color. Type is u8. Initial value is 0. |
|
| borderColorB | The blue component of the border color. Type is u8. Initial value is 0. |
|
| borderColorA | The alpha component of the border color. Type is u8. Initial value is 0. |
| protected | IsEnableMipMap | Determines whether MipMap is enabled. |
|---|---|---|
| protected | UnitBase | Sets the initial value. |
CONFIDENTIAL