MCPcopy
hub / github.com/XingangPan/DragGAN / skip_frame

Method skip_frame

gui_utils/glfw_window.py:130–131  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128 return glfw.window_should_close(self._glfw_window) or (self._close_on_esc and self._esc_pressed)
129
130 def skip_frame(self):
131 self.skip_frames(1)
132
133 def skip_frames(self, num): # Do not update window for the next N frames.
134 self._skip_frames = max(self._skip_frames, int(num))

Callers 4

__init__Method · 0.80
_adjust_font_sizeMethod · 0.80
loadMethod · 0.80
__call__Method · 0.80

Calls 1

skip_framesMethod · 0.95

Tested by

no test coverage detected