|
Nugget
Bare-metal libraries and examples for the original PlayStation
|
One CLUT or pixel section. More...
#include <psyqo/tim.hh>

Public Attributes | |
| const uint16_t * | data = nullptr |
| Rect | rect |
| bool | aligned = false |
Whether data sits on a four byte boundary, as DMA requires. | |
One CLUT or pixel section.
rect is in 16-bit VRAM units, matching both the file and GPU::uploadToVRAM. For an 8bpp 256 texel wide image the width here is 128, and for a 256 entry palette it is 256 by 1.
| bool psyqo::TIM::Section::aligned = false |
Whether data sits on a four byte boundary, as DMA requires.
| const uint16_t* psyqo::TIM::Section::data = nullptr |
| Rect psyqo::TIM::Section::rect |