- This wiki is out of date, use the continuation of this wiki instead
Blendop assign
From FenixWiki
(Difference between revisions)
| Revision as of 11:38, 17 January 2008 (edit) Sandman (Talk | contribs) ← Previous diff |
Revision as of 18:18, 17 January 2008 (edit) (undo) Sandman (Talk | contribs) m Next diff → |
||
| Line 6: | Line 6: | ||
| Assigns a [[blend operation]] to a [[graphic]]. The graphic will be drawn using this blend operation hereafter. Only one blend operation can be assigned to one graphic at a given time; when another is assigned, the previous one is unassigned. | Assigns a [[blend operation]] to a [[graphic]]. The graphic will be drawn using this blend operation hereafter. Only one blend operation can be assigned to one graphic at a given time; when another is assigned, the previous one is unassigned. | ||
| + | |||
| + | To deassigning a blend table, using [[NULL]] as the ''blendopID''. | ||
| == Parameters == | == Parameters == | ||
| Line 13: | Line 15: | ||
| | '''INT''' graphID || - The [[graphID]] of the [[graphic]] to assign the [[blendop]] to. | | '''INT''' graphID || - The [[graphID]] of the [[graphic]] to assign the [[blendop]] to. | ||
| |- | |- | ||
| - | | '''INT''' blendopID || - The [[blendopID]] of the [[blendop]] to assign. | + | | '''INT''' blendopID || - The [[blendopID]] of the [[blendop]] to assign ([[NULL]] for none). |
| |} | |} | ||
Revision as of 18:18, 17 January 2008
Definition
INT blendop_assign ( <INT fileID> , <INT graphID> , <INT blendopID> )
Assigns a blend operation to a graphic. The graphic will be drawn using this blend operation hereafter. Only one blend operation can be assigned to one graphic at a given time; when another is assigned, the previous one is unassigned.
To deassigning a blend table, using NULL as the blendopID.
Parameters
| INT fileID | - The fileID of the file holding the graphic. |
| INT graphID | - The graphID of the graphic to assign the blendop to. |
| INT blendopID | - The blendopID of the blendop to assign (NULL for none). |
Returns
INT : true
| Blendops Functions | |
| • Blendop_apply() • Blendop_assign() • Blendop_free() • Blendop_grayscale() • Blendop_identity() • Blendop_intensity() • Blendop_new() • Blendop_swap() • Blendop_tint() • Blendop_translucency() • | |
