This wiki is out of date, use the continuation of this wiki instead

Blendop intensity

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 12:17, 17 January 2008 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Current revision (23:23, 17 January 2008) (edit) (undo)
Sandman (Talk | contribs)
m
 
(2 intermediate revisions not shown.)
Line 3: Line 3:
==Definition== ==Definition==
-'''INT''' blendop_intensity ( <'''INT''' blendopID> , <'''FLOAT''' amount> )+'''INT''' blendop_intensity ( <'''INT''' blendTable> , <'''FLOAT''' amount> )
-Modify the [[blend table]] of the [[blend operation]] by intensifying the colours. This means that the [[graphic]] the blend operation is assigned to will appear darker or lighter than normal.+Modify the [[blend table]] by intensifying the colours. This means that the [[graphic]] the blend operation is assigned to will appear darker or lighter than normal.
This will modify the source section of the [[blend table]], but leave the destination section as it was. This will modify the source section of the [[blend table]], but leave the destination section as it was.
Line 11: Line 11:
== Parameters == == Parameters ==
{| {|
-| '''INT''' blendopID || - The [[blendopID]] of the [[blendop]] to assign.+| '''INT''' blendTable || - The [[blend table]] to intensify.
|- |-
| '''FLOAT''' amount || - The amount to multiply the R,G,B values of the colours by. | '''FLOAT''' amount || - The amount to multiply the R,G,B values of the colours by.

Current revision


[edit] Definition

INT blendop_intensity ( <INT blendTable> , <FLOAT amount> )

Modify the blend table by intensifying the colours. This means that the graphic the blend operation is assigned to will appear darker or lighter than normal.

This will modify the source section of the blend table, but leave the destination section as it was.

[edit] Parameters

INT blendTable - The blend table to intensify.
FLOAT amount - The amount to multiply the R,G,B values of the colours by.

[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() •
Personal tools