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

Blendop assign

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 11:17, 17 January 2008 (edit)
Sandman (Talk | contribs)
m
← Previous diff
Revision as of 11:37, 17 January 2008 (edit) (undo)
Sandman (Talk | contribs)

Next diff →
Line 3: Line 3:
==Definition== ==Definition==
-'''INT''' blendop_apply ( <'''INT''' fileID> , <'''INT''' graphID> , <'''INT''' blendopID> )+'''INT''' blendop_intensity ( <'''INT''' blendopID> , <'''FLOAT''' amount> )
-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.+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.
== Parameters == == Parameters ==
{| {|
-| '''INT''' fileID || - The [[fileID]] of the [[file]] holding the [[graphic]].+| '''INT''' blendopID || - The [[blendopID]] of the [[blendop]] to assign.
|- |-
-| '''INT''' graphID || - The [[graphID]] of the [[graphic]] to assign the [[blendop]] to.+| '''FLOAT''' amount || - The amount to multiply the R,G,B values of the colours by.
-|-+
-| '''INT''' blendopID || - The [[blendopID]] of the [[blendop]] to assign.+
|} |}

Revision as of 11:37, 17 January 2008


Definition

INT blendop_intensity ( <INT blendopID> , <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.

Parameters

INT blendopID - The blendopID of the blendop to assign.
FLOAT amount - The amount to multiply the R,G,B values of the colours by.

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