ProtoFlux:Pack ColorX

From Resonite Wiki
Revision as of 02:40, 14 January 2024 by Epsilion (talk | contribs)
Pack rgba
R
*
G
B
A
Profile
Packing

Pack ColorX combines the specified red, green, blue and alpha channels into a ColorX object, after applying the specified Color Profile.

Not to be confused with Pack Color, which does not use color profiles, and results in a Color object.

Inputs

R (float)

Red Channel of resulting ColorX

G (float)

Blue Channel of resulting ColorX

B (float)

Green Channel of resulting ColorX

A (float)

Alpha (Aka Transparency) Channel of resulting ColorX

Profile (ColorProfile)

Profile of resulting ColorX. Can be either Linear, sRGB, sRGBA.

Outputs

* (colorX)

ColorX output which is a compilation of all this node's inputs.