MCPcopy Index your code
hub / github.com/gre/gl-react / GLSL

Function GLSL

packages/gl-react/src/GLSL.ts:11–20  ·  view source on GitHub ↗
(
  strings: TemplateStringsArray,
  ...values: string[]
)

Source from the content-addressed store, hash-verified

9 * GLSL string template to write your shader.
10 */
11export default function GLSL(
12 strings: TemplateStringsArray,
13 ...values: string[]
14): GLSLCode {
15 let code = "";
16 for (let i = 0; i < strings.length; i++) {
17 code += (i === 0 ? "" : values[i - 1]) + strings[i];
18 }
19 return code;
20}

Callers 15

BlurV1D.tsxFile · 0.90
Blur1D.tsxFile · 0.90
GLCamera.tsxFile · 0.90
Blur.tsxFile · 0.90
FlyEye.tsxFile · 0.90
ColorMatrix.tsxFile · 0.90
Negative.tsxFile · 0.90
HueRotate.tsxFile · 0.90
GLCamera.tsxFile · 0.90
demodesertcrt.tsxFile · 0.90
transitions.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…