vispy.gloo.preprocessor module

vispy.gloo.preprocessor.merge_includes(code)[source]

Merge all includes recursively.

vispy.gloo.preprocessor.preprocess(code)[source]

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

vispy.gloo.preprocessor.remove_comments(code)[source]

Remove C-style comment from GLSL code string.