MCPcopy Create free account
hub / github.com/vispy/vispy / definition

Method definition

vispy/visuals/shaders/function.py:530–535  ·  view source on GitHub ↗
(self, obj_names, version, shader)

Source from the content-addressed store, hash-verified

528 return int(m.group(1)), m.group(2)
529
530 def definition(self, obj_names, version, shader):
531 code = Function.definition(self, obj_names, version, shader)
532 # strip out version pragma before returning code; this will be
533 # added to the final compiled code later.
534 code = re.sub(parsing.re_version_pragma, '', code)
535 return code
536
537 def static_names(self):
538 if self._static_vars is not None:

Callers

nothing calls this directly

Calls 1

definitionMethod · 0.45

Tested by

no test coverage detected