void CacheScanline(unsigned y);
CacheScanline is a pass-through function to ImageData::GetScanline on platforms without swizzled textures. On platforms with swizzled textures, it caches any necessary data to speed up direct pixel accesses in GetPixelInScaneline or SetPixelInScanline.
Parameters |
Description |
unsigned y |
The Y coordinate of the scanline to cache. |