MCPcopy
hub / github.com/EngoEngine/engo / runLoop

Function runLoop

engo_mobile_bind.go:76–82  ·  view source on GitHub ↗
(defaultScene Scene, headless bool)

Source from the content-addressed store, hash-verified

74func DestroyWindow() { /* nothing to do here? */ }
75
76func runLoop(defaultScene Scene, headless bool) {
77 go func() {
78 for {
79 mobileDraw(defaultScene)
80 }
81 }()
82}
83
84// RunPreparation is called only once, and is called automatically when calling Open
85// It is only here for benchmarking in combination with OpenHeadlessNoRun

Callers

nothing calls this directly

Calls 1

mobileDrawFunction · 0.85

Tested by

no test coverage detected