vispy.visuals.shaders.parsing module¶
-
vispy.visuals.shaders.parsing.
find_functions
(code)[source]¶ Return a list of (name, arguments, return type) for all function definition2 found in code. Arguments are returned as [(type, name), …].
-
vispy.visuals.shaders.parsing.
find_program_variables
(code)[source]¶ Return a dict describing program variables:
{'var_name': ('uniform|attribute|varying', type), ...}
-
vispy.visuals.shaders.parsing.
find_prototypes
(code)[source]¶ Return a list of signatures for each function prototype declared in code. Format is [(name, [args], rtype), …].