Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:SwizzleDriverDescription

Template page

The SwizzleDriverDescription component drives a [[Type:{{{3}}}{{{4}}}|{{{3}}}{{{4}}}]] value based on the channels of the input [[Type:{{{1}}}{{{2}}}|{{{1}}}{{{2}}}]]. Each output channel (counting from 0) is assigned to an input channel (or -1 for zero), allowing for arbitrary rearrangement (i.e. swizzling). It's equivalent to [[ProtoFlux:Unpack{{{2}}}|unpacking]] the input value and [[ProtoFlux:Pack{{{4}}}|packing]] it again with ProtoFlux.