Vulkan fragment shader: twist-code-double-helix. More...
Go to the source code of this file.
Macros | |
| #define | iResolution ext.u0.zw |
| #define | time_f ext.u2.y |
Functions | |
| layout (set=0, binding=1, std140) uniform SpriteExtended | |
| layout (location=0) in vec2 tc | |
| layout (set=0, binding=0) uniform sampler2D samp | |
| vec2 | whirl (vec2 uv, vec2 center, float direction) |
| Evaluates whirl for this shader effect. | |
| void | main (void) |
| Executes the fragment shader entry point. | |
Variables | |
| ext | |
Vulkan fragment shader: twist-code-double-helix.
Definition in file twist-code-double-helix.frag.
| #define iResolution ext.u0.zw |
Definition at line 17 of file twist-code-double-helix.frag.
| #define time_f ext.u2.y |
Definition at line 18 of file twist-code-double-helix.frag.
| layout | ( | location | = 0 | ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 0 ) |
References layout().
| layout | ( | set | = 0, |
| binding | = 1, | ||
| std140 | ) |
Definition at line 7 of file twist-code-double-helix.frag.
References layout().
| void main | ( | void | ) |
Executes the fragment shader entry point.
Definition at line 47 of file twist-code-double-helix.frag.
| vec2 whirl | ( | vec2 | uv, |
| vec2 | center, | ||
| float | direction ) |
Evaluates whirl for this shader effect.
| uv | Input value for the calculation. |
| center | Input value for the calculation. |
| direction | Input value for the calculation. |
Definition at line 33 of file twist-code-double-helix.frag.
References iResolution, time_f, and whirl().
| ext |
Definition at line 16 of file twist-code-double-helix.frag.