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

Method begin

pymaze/post_processing.py:117–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115
116
117 def begin(self):
118 # Bind out framebuffer to write all color/depth info into to it
119 glBindFramebuffer(GL_FRAMEBUFFER, self.buffer)
120
121 # Clear it
122 glClearColor(0.0, 0.0, 0.0, 1.0)
123 glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
124
125
126 def end(self, seconds, camera):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected