RTSwitch

Read with AI
All docs in one file (llms-full.txt)
RTSwitch #Composite #Node
RTSwitch

Truncates Index, clamps it to 0-3, and passes 0 = A / 1 = B / 2 = C / 3 = D straight through. No interpolation is applied at all, so it suits cutting between sources on the beat.

  • The output buffer follows the resolution and format of the selected input
  • When the selected input is not connected, it outputs black

Input ports

Port IDType
Indexfloat
ARenderTexture
BRenderTexture
CRenderTexture
DRenderTexture

Output ports

Port IDType
Render TextureRenderTexture

Scriptable members

PathType
indexInputfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "RTSwitch" })