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 |
Description |
unsigned x |
The X coordinate of the pixel to set. |
Color c |
The pixel color to set. |