Skip to main content

SceneCacheState

SceneCacheState

Cached rendering and hit-testing state. More…

#include <OpenGLWidget.hpp>

Public Attributes

Name
CorePlotting::RenderableScene scene
CorePlotting::LayoutResponse layout_response
std::map< size_t, std::string > rectangle_batch_key_map
std::map< size_t, std::string > glyph_batch_key_map
bool scene_dirty
bool layout_response_dirty
std::unordered_set< std::string > series_in_scene

Detailed Description

struct SceneCacheState;

Cached rendering and hit-testing state.

Groups scene caching for efficient rendering and spatial queries.

Public Attributes Documentation

variable scene

CorePlotting::RenderableScene scene;

variable layout_response

CorePlotting::LayoutResponse layout_response;

variable rectangle_batch_key_map

std::map< size_t, std::string > rectangle_batch_key_map;

variable glyph_batch_key_map

std::map< size_t, std::string > glyph_batch_key_map;

variable scene_dirty

bool scene_dirty {true};

variable layout_response_dirty

bool layout_response_dirty {true};

variable series_in_scene

std::unordered_set< std::string > series_in_scene;

Tracks which series have been built into the current scene. Accumulates across additive rebuilds (pan reveals new series). Cleared only on full data changes (time window, layout config, global y scale).


Updated on 2026-11-13 at 20:25:39 +0000