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

Function RunPreparation

engo_mobile.go:172–175  ·  view source on GitHub ↗

RunPreparation is called only once, and is called automatically when calling Open It is only here for benchmarking in combination with OpenHeadlessNoRun

(defaultScene Scene)

Source from the content-addressed store, hash-verified

170// RunPreparation is called only once, and is called automatically when calling Open
171// It is only here for benchmarking in combination with OpenHeadlessNoRun
172func RunPreparation(defaultScene Scene) {
173 Time = NewClock()
174 SetScene(defaultScene, false)
175}
176
177// RunIteration runs one iteration / frame
178func RunIteration() {

Callers 1

runLoopFunction · 0.70

Calls 2

NewClockFunction · 0.85
SetSceneFunction · 0.85

Tested by

no test coverage detected