Skip to main content

Function: getPassthroughFS()

getPassthroughFS(options?): string

Defined in: lib/glsl-utils/shader-utils.ts:38

Given the shader input and output variable names, builds and return a pass through fragment shader.

Parameters​

options?​

input?​

string

inputChannels?​

2 | 1 | 3 | 4

output?​

string

Returns​

string