colorSwap(from, to)
Swaps one color with another. Applies to any drawing calls. Reset with `colorSwap()`.
colorSwap()
Resets any previous color swaps.
@Kethku if I understand your frame buffer renderer, everything goes through setPixel, correct? So to add this colorSwap, I only need to modify the setPixel function?
How about this:
@Kethku if I understand your frame buffer renderer, everything goes through
setPixel
, correct? So to add thiscolorSwap
, I only need to modify thesetPixel
function?