vispy.gloo.preprocessor module#

vispy.gloo.preprocessor.merge_includes(code)#

Merge all includes recursively.

vispy.gloo.preprocessor.preprocess(code)#

Preprocess a code by removing comments, version and merging includes.

vispy.gloo.preprocessor.remove_comments(code)#

Remove C-style comment from GLSL code string.