Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Classes | Namespaces
ViewportCulling.h File Reference

Viewport culling helpers for the VS graph canvas (Phase 7). More...

#include <vector>
#include <utility>
+ Include dependency graph for ViewportCulling.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Olympe::ViewRect
 An axis-aligned rectangle used to describe the viewport or a node bounds. More...
 
class  Olympe::ViewportCulling
 Static helpers for AABB-based viewport culling. More...
 

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Detailed Description

Viewport culling helpers for the VS graph canvas (Phase 7).

Author
Olympe Engine
Date
2026-03-10

Provides static utility methods for determining whether a node rectangle overlaps the current viewport (with an optional margin). Call FilterVisibleNodes() to get a list of node IDs that should be rendered.

No state, no singletons — pure functions operating on plain data.

C++14 compliant — no std::optional, structured bindings, std::filesystem.

Definition in file ViewportCulling.h.