/// <summary> /// Setups the rendering pipeline before rendering a new frame. /// </summary> internal void SetupFrame() { GL.ClearColor(BackgroundColor.ToColor4()); Shader.Use(); for (int i = 0; i < TILEMAP_COUNT; i++) { Tilemaps[i]?.Use(i); } }