MCPcopy
hub / github.com/zju3dv/4K4D / offscreen_render

Method offscreen_render

easyvolcap/utils/gl_utils.py:320–322  ·  view source on GitHub ↗
(self, eglctx: "eglContextManager", camera: Camera)

Source from the content-addressed store, hash-verified

318 self.normals = self.verts
319
320 def offscreen_render(self, eglctx: "eglContextManager", camera: Camera):
321 eglctx.resize(camera.W, camera.H)
322 self.render(camera)
323
324 def render(self, camera: Camera):
325 if not self.visible: return

Callers 2

test_eglctx_auto_fbo_rboFunction · 0.95

Calls 2

renderMethod · 0.95
resizeMethod · 0.80

Tested by 2

test_eglctx_auto_fbo_rboFunction · 0.76