ImageSwizzlerContext::GetPixelInScanline

ImageSwizzlerContext::GetPixelInScanline
Color GetPixelInScanline(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 
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.