Options
All
  • Public
  • Public/Protected
  • All
Menu

Module exprs/channelsampleexpr

Index

Classes

Functions

Functions

channel

  • creates an expression that samples from one of the user-defined channels. don't sample from the same channel that you are using target on in a loop, just use fcolor

    Parameters

    • channel: number

      which channel to sample from

    • Optional vec: Vec2

      where to sample the channel texture (defaults to the normalized frag coord)

    Returns ChannelSampleExpr

Generated using TypeDoc