Blendop swap

From Bennu Wiki
Revision as of 02:05, 2 October 2008 by Sandman (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


INT blendop_swap ( <INT blendTable> )

Modify the blend table by swapping the source and destination sections. This means that the graphic the blend operation is assigned to will appear like what is behind the object and the background will look like the object.

This will swap the source and destination section of the blend table.


INT blendTable - The blend table to swap the sections of.


INT : true


To understand what swapping actually does, consider the following:

  • When done a blendop_swap() on a just initialized blend table, the graphic it is assigned to will 'disappear'.

Blendops Functions