SptFadeColor(bBuffer As bTftLibParameter1, bBrightness As bTftLibParameter2, wFadeColor As wTftLibParameter1, bTransparent As bTftLibParameter3, wAlphaColor As wTftLibParameter2), Byte
Applies a fade-in or fade-out effect toward a specified color on a sprite buffer, with optional transparency support.
bBuffer – Working sprite buffer to be processed.
bBrightness – Fade level (0–255):
0 – Fully faded to wFadeColor
255 – Original sprite colors
wFadeColor – Target color to fade toward or from.
bTransparent – Transparency mode:
0 – Apply effect to all pixels
1 – Skip pixels matching the alpha-key color
wAlphaColor – Alpha-key color used when transparency is enabled.
Result:
0 – Success
1 – Invalid source buffer
Created with the Personal Edition of HelpNDoc: Make Documentation Review a Breeze with HelpNDoc's Advanced Project Analyzer