ImageSwizzler::GetPixelInScanline

ImageSwizzler::GetPixelInScanline
virtual Color GetPixelInScanline(ImageSwizzlerContext& ctx, unsigned x);
Description

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
Parameters 
Description 
ImageSwizzlerContext& ctx 
_nt_ 
unsigned x 
The X coordinate of the pixel to retrieve. 
Return Value

The pixel located at the requested X coordinate and the Y coordinate previously cached by CacheScanline.