Beispiel #1
0
 def z() -> glsl_snippet(depends_on=[y]):
     return "z"
Beispiel #2
0
 def y() -> glsl_snippet(depends_on=[c, b, a]):
     return "y"
Beispiel #3
0
 def b() -> glsl_snippet(depends_on=[c]):
     return "b"
Beispiel #4
0
 def c() -> glsl_snippet(depends_on=[a]):
     return "c"
Beispiel #5
0
 def a() -> glsl_snippet(depends_on=[]):
     return "a"
Beispiel #6
0
 def glsl_snippet_maker(
 ) -> glsl_snippet(depends_on=["someFunction"], misc_info=misc_info):
     return glsl_snippet("float x = someFunction(1);")