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

Method renderDebugMap

pymaze/skybox.py:48–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46
47
48 def renderDebugMap(self):
49 shader = PWShaders.getShader(ShaderTypes.SDEBUG_SHADER)
50 glUseProgram(shader.shader)
51
52 glActiveTexture(GL_TEXTURE0)
53 glBindTexture(GL_TEXTURE_2D, self.depth_texture)
54
55 glBindVertexArray(self.debugger.vao)
56 glDrawArrays(GL_TRIANGLE_STRIP, 0, 4)
57
58
59class PWSkyboxShadow(PWConstants):

Callers

nothing calls this directly

Calls 1

getShaderMethod · 0.80

Tested by

no test coverage detected