//! Port of `three.js/examples/jsm/tsl/display/RGBShiftNode.js`.
use crate;
use crateNodeRef;
use crateTexture;
/// `rgbShift( node, amount = 0.005, angle = 0 )` — red and blue sampled at
/// opposite offsets along `angle`, green and alpha in place.
///
/// Takes the texture three's `convertToTexture()` would have made; the uv is
/// the raw `uv()` a pass or `rtt()` texture node carries.