- This wiki is out of date, use the continuation of this wiki instead
Blendop apply
From FenixWiki
(Difference between revisions)
Revision as of 11:12, 17 January 2008 (edit) Sandman (Talk | contribs) (New page: Category:functions Category:Blendops ==Definition== '''INT''' blendop_apply( <'''INT''' fileID> , <'''INT''' graphID> , <'''INT''' blendopID> ) Applies a blend operation to t...) ← Previous diff |
Current revision (00:15, 22 January 2008) (edit) (undo) Sandman (Talk | contribs) m (→Parameters) |
||
(2 intermediate revisions not shown.) | |||
Line 3: | Line 3: | ||
==Definition== | ==Definition== | ||
- | '''INT''' blendop_apply( <'''INT''' fileID> , <'''INT''' graphID> , <'''INT''' | + | '''INT''' blendop_apply ( <'''INT''' fileID> , <'''INT''' graphID> , <'''INT''' blendTable> ) |
Applies a [[blend operation]] to the pixels of a [[graphic]], as if it was rendered into a black (color 0) background. | Applies a [[blend operation]] to the pixels of a [[graphic]], as if it was rendered into a black (color 0) background. | ||
Line 11: | Line 11: | ||
| '''INT''' fileID || - The [[fileID]] of the [[file]] holding the [[graphic]]. | | '''INT''' fileID || - The [[fileID]] of the [[file]] holding the [[graphic]]. | ||
|- | |- | ||
- | | '''INT''' graphID || - The [[graphID]] of the [[graphic]] to apply the [[ | + | | '''INT''' graphID || - The [[graphID]] of the [[graphic]] to apply the [[blend operation]] to. |
|- | |- | ||
- | | '''INT''' | + | | '''INT''' blendTable || - The [[blend table]] to apply. |
|} | |} | ||
Current revision
[edit] Definition
INT blendop_apply ( <INT fileID> , <INT graphID> , <INT blendTable> )
Applies a blend operation to the pixels of a graphic, as if it was rendered into a black (color 0) background.
[edit] Parameters
INT fileID | - The fileID of the file holding the graphic. |
INT graphID | - The graphID of the graphic to apply the blend operation to. |
INT blendTable | - The blend table to apply. |
[edit] 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() • |