- This wiki is out of date, use the continuation of this wiki instead
Blendop translucency
From FenixWiki
(Difference between revisions)
Revision as of 11:58, 17 January 2008 (edit) Sandman (Talk | contribs) m ← Previous diff |
Revision as of 11:58, 17 January 2008 (edit) (undo) Sandman (Talk | contribs) m Next diff → |
||
Line 16: | Line 16: | ||
== Returns == | == Returns == | ||
'''INT''' : [[true]] | '''INT''' : [[true]] | ||
+ | |||
+ | == Notes == | ||
+ | To set an amount of 0.5 is the same as doing using a [[blit flags|blit flag]] of [[B_TRANSLUCENT]]. | ||
{{Funcbox | {{Funcbox | ||
| category = Blendops | | category = Blendops | ||
}} | }} | ||
- | |||
- | == Notes == | ||
- | To set an amount of 0.5 is the same as doing using a [[blit flags|blit flag]] of [[B_TRANSLUCENT]]. |
Revision as of 11:58, 17 January 2008
Contents |
Definition
INT blendop_translucency ( <INT blendopID> , <FLOAT amount> )
Modify the blend table of the blend operation by setting how much the object is visible and how much what is behind the source. This means that the graphic the blend operation is assigned to will appear translucent or transparent.
Parameters
INT blendopID | - The blendopID of the blendop to assign. |
FLOAT amount | - Opacity factor ( 1 (opaque) - 0 (transparent) ). |
Returns
INT : true
Notes
To set an amount of 0.5 is the same as doing using a blit flag of B_TRANSLUCENT.
Blendops Functions | |
• Blendop_apply() • Blendop_assign() • Blendop_free() • Blendop_grayscale() • Blendop_identity() • Blendop_intensity() • Blendop_new() • Blendop_swap() • Blendop_tint() • Blendop_translucency() • |