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

Method _new_program

vispy/visuals/shaders/multiprogram.py:142–145  ·  view source on GitHub ↗

New program was added to the multiprogram; update items in the shader.

(self, p)

Source from the content-addressed store, hash-verified

140 getattr(p, self._shader)[key] = value
141
142 def _new_program(self, p):
143 """New program was added to the multiprogram; update items in the shader."""
144 for k, v in self._set_items.items():
145 getattr(p, self._shader)[k] = v

Callers 1

add_programMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected