Flip
Flips the input texture horizontally and/or vertically based on specified parameters.
Parameters
texture
Texture: The input texture to be filtered. Default: The entire canvas
texOffset
Vec2: The offset used for sampling neighboring pixels. Default: (1.0 / width, 1.0 / height)
flipHorizontal
Boolean: If true
, flips the texture horizontally. Default: false
flipVertical
Boolean: If true
, flips the texture vertically. Default: true