virtual void CacheScanline(ImageSwizzlerContext& ctx, 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 |
ImageSwizzlerContext& ctx |
_nt_ |
unsigned y |
The Y coordinate of the scanline to cache. |