Color GetPixelInScanline(unsigned x);
GetPixelInScanline is a pass-through function to ImageData::GetPixelInScanline on platforms without swizzled textures. On platforms with swizzled textures, it swizzles the X coordinate and cached Y coordinate before pixel retrieval.
Parameters |
Description |
unsigned x |
The X coordinate of the pixel to retrieve. |
The pixel located at the requested X coordinate and the Y coordinate previously cached by CacheScanline.