Older Newer
Sat, 09 Dec 2017 12:41:12 . . . . SyneRyder [Adding function definition]


Changes by last author:

Added:
= t3setp =

== Syntax ==

:int t3setp(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 third tile buffer. Using t3setp instead of t3set 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 ==

== See Also ==

:srcp, pgetp, psetp, tgetp, tsetp, t3getp, RGB, RGBA

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.