Skip to content

SwapTextures

in Lib.image.use

A helper that swaps texture buffers. This can be useful for implementing buffer buffering in compute shader effects.

Input Parameters

Name (Relevancy & Type) Description
TextureAInput (Texture2D Required)
TextureBInput (Texture2D Required)
EnableSwap (Boolean)

Outputs

Name Type
TextureA T3.Core.DataTypes.Texture2D
TextureB T3.Core.DataTypes.Texture2D