ImageSwizzler::SetPixelInScanline

ImageSwizzler::SetPixelInScanline
virtual void SetPixelInScanline(ImageSwizzlerContext& ctx, unsigned x, Color c);
virtual void SetPixelInScanline(ImageSwizzlerContext& ctx, 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 
ImageSwizzlerContext& ctx 
_nt_ 
unsigned x 
The X coordinate of the pixel to set. 
Color c 
The pixel color to set.