MCPcopy Create free account
hub / github.com/Blakkis/PyGLMaze / changeShader

Method changeShader

pymaze/post_processing.py:21–26  ·  view source on GitHub ↗
(cls, key_change)

Source from the content-addressed store, hash-verified

19
20 @classmethod
21 def changeShader(cls, key_change):
22 all_count = len(cls.all_shaders)
23 cls.current_shader += key_change
24 cls.current_shader %= all_count
25
26 print(cls.getCurrentShaderID())
27
28 @classmethod
29 def getCurrentShaderID(cls):

Callers 1

mainloopMethod · 0.80

Calls 1

getCurrentShaderIDMethod · 0.80

Tested by

no test coverage detected