m Added category name |
Fixed link. |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{#Invoke:ProtoFlux|GenerateUI | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name=Pack rgba | |Name=Pack rgba | ||
Line 18: | Line 16: | ||
|}} | |}} | ||
The '''Pack ColorX''' node combines the specified red, green, blue and alpha channels into a [[Type:ColorX|ColorX]] object after applying the specified [[Type:ColorProfile|Color Profile]]. This is not to be confused with [[ProtoFlux:Pack Color|Pack Color]], which does not use color profiles, and results in a [[Type:Color|Color]] object. | |||
== Inputs == <!--T:3--> | == Inputs == <!--T:3--> | ||
=== R (float) === | === R ([[Type:Float|float]]) === | ||
Red Channel of resulting [[ColorX]] | Red Channel of resulting [[Type:ColorX|ColorX]] | ||
=== G (float) === | === G ([[Type:Float|float]]) === | ||
Blue Channel of resulting [[ColorX]] | Blue Channel of resulting [[Type:ColorX|ColorX]] | ||
=== B (float) === | === B ([[Type:Float|float]]) === | ||
Green Channel of resulting [[ColorX]] | Green Channel of resulting [[Type:ColorX|ColorX]] | ||
=== A (float) === | === A ([[Type:Float|float]]) === | ||
Alpha (Aka Transparency) Channel of resulting [[ColorX]] | Alpha (Aka Transparency) Channel of resulting [[Type:ColorX|ColorX]] | ||
=== Profile (ColorProfile) === | === Profile ([[Type:ColorProfile|ColorProfile]]) === | ||
[[ | [[Type:ColorProfile|ColorProfile]] of resulting [[Type:ColorX|ColorX]]. Can be either Linear, sRGB, sRGBA. | ||
== Outputs == <!--T:3--> | == Outputs == <!--T:3--> | ||
=== * ( | === * ([[Type:ColorX|ColorX]]) === | ||
[[ColorX]] output which is a compilation of all this node's inputs. | [[Type:ColorX|ColorX]] output which is a compilation of all this node's inputs. | ||
[[Category:ProtoFlux:Colors:Packing]] |
Latest revision as of 14:21, 3 July 2024
Pack rgba
Packing
The Pack ColorX node combines the specified red, green, blue and alpha channels into a ColorX object after applying the specified Color Profile. This is 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)
ColorProfile of resulting ColorX. Can be either Linear, sRGB, sRGBA.
Outputs
* (ColorX)
ColorX output which is a compilation of all this node's inputs.