= tsetp =
== Syntax == :int tsetp(int x, int y, int val) == Arguments == :x, y ::Image coordinates :val ::Pixel value that shall be stored == Return == :Always returns a value of 1 == Description == :This function lets you write a whole pixel to the first tile buffer. Using tsetp instead of tset takes only approximately half as much time. You have to use the RGB or RGBA function to create a pixel value from individual color values. Make sure that the individual color values lie between 0 and 255, otherwise they will be mixed up when passing them to this function. == Example == == Also see == :srcp, pgetp, psetp, tgetp, t2getp, t2setp, RGB, RGBA == Comments == :Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too. |