ImageSwizzlerContext::SetPixelInScanline

ImageSwizzlerContext::SetPixelInScanline
void SetPixelInScanline(unsigned x, Color c);
void SetPixelInScanline(unsigned x, UInt32 c);
Description

SetPixelInScanline is a pass-through function to ImageData::SetPixelInScanline on platforms without swizzled textures. On platforms with swizzled textures, it swizzles the X coordinate and cached Y coordinate before setting the pixel.

Parameters
Parameters 
Description 
unsigned x 
The X coordinate of the pixel to set. 
Color c 
The pixel color to set.