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

Struct RenderSystem

common/render.go:208–214  ·  view source on GitHub ↗

RenderSystem is the system that draws entities on the OpenGL surface. It requires a CameraSystem to work. If a CameraSystem is not in the World when you add RenderSystem one is automatically added to the world.

Source from the content-addressed store, hash-verified

206// a CameraSystem to work. If a CameraSystem is not in the World when you add RenderSystem
207// one is automatically added to the world.
208type RenderSystem struct {
209 entities renderEntityList
210 ids map[uint64]struct{}
211 world *ecs.World
212
213 sortingNeeded, newCamera bool
214}
215
216// Priority implements the ecs.Prioritizer interface.
217func (*RenderSystem) Priority() int { return RenderSystemPriority }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected