ProtoFlux:Pack ColorX: Difference between revisions

From Resonite Wiki
m Added category name
mNo edit summary
Line 1: Line 1:
[[Category:ProtoFlux:Colors:Packing]]
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=Pack rgba
|Name=Pack rgba
Line 17: Line 15:
]
]
|}}
|}}
'''Pack ColorX''' combines the specified red, green, blue and alpha channels into a [[ColorX]] object, after applying the specified [[ColorProfile | Color Profile]].


Not to be confused with [[Pack Color (ProtoFlux) | Pack Color]], which does not use color profiles, and results in a [[Color]] object.


== Inputs == <!--T:3-->
== Inputs == <!--T:3-->
Line 40: Line 40:
=== * (colorX) ===
=== * (colorX) ===
[[ColorX]] output which is a compilation of all this node's inputs.
[[ColorX]] output which is a compilation of all this node's inputs.
[[Category:ProtoFlux:Colors:Packing]]

Revision as of 02:40, 14 January 2024

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.