ProtoFlux:Pack ColorX: Difference between revisions

From Resonite Wiki
No edit summary
Fixed link.
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:NodeMenu]]
{{#Invoke:ProtoFlux|GenerateUI
 
|Name=Pack rgba
{{#Invoke:Test|ProtoFlux|
|Category=Packing
Name=Pack rgba
|Inputs=
|Inputs=
[
[
Line 17: 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 ([[Type:Float|float]]) ===
Red Channel of resulting [[Type:ColorX|ColorX]]


== R (float) ==
=== G ([[Type:Float|float]]) ===
Red Channel of resulting colorX
Blue Channel of resulting [[Type:ColorX|ColorX]]


== G (float) ==
=== B ([[Type:Float|float]]) ===
Blue Channel of resulting colorX
Green Channel of resulting [[Type:ColorX|ColorX]]


== B (float) ==
=== A ([[Type:Float|float]]) ===
Green Channel of resulting colorX
Alpha (Aka Transparency) Channel of resulting [[Type:ColorX|ColorX]]


== A (float) ==
=== Profile ([[Type:ColorProfile|ColorProfile]]) ===
Alpha (Aka Transparency) Channel of resulting colorX
[[Type:ColorProfile|ColorProfile]] of resulting [[Type:ColorX|ColorX]]. Can be either Linear, sRGB, sRGBA.


== Profile (ColorProfile) ==
== Outputs == <!--T:3-->
Profile of resulting colorX. Can be either Linear, sRGB, sRGBA.


= Outputs = <!--T:3-->
=== * ([[Type:ColorX|ColorX]]) ===
[[Type:ColorX|ColorX]] output which is a compilation of all this node's inputs.


== * (colorX) ==
[[Category:ProtoFlux:Colors:Packing]]
ColorX output which is a compilation of all this node's inputs.

Latest revision as of 14:21, 3 July 2024

Pack rgba
R
*
G
B
A
Profile
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.