Name
sdl.GetTextureColorMod -- get texture color modulation
Synopsis
r, g, b = sdl.GetTextureColorMod(tex)
Function
Use this function to get the additional color value multiplied into render copy operations. The tex argument must simply be the identifier of a hardware brush.

On error, this function returns -1 in all return values.

Inputs
tex
identifier of hardware brush
Results
r
the red color value multiplied into copy operations (ranging from 0 to 255)
g
the green color value multiplied into copy operations (ranging from 0 to 255)
b
the blue color value multiplied into copy operations (ranging from 0 to 255)

Show TOC