Loading...
Searching...
No Matches
Gfx::GeometryViewer::SceneDescription Struct Reference

What the viewer shows of a scene. More...

Detailed Description

What the viewer shows of a scene.

Public Member Functions

void clear ()
 

Public Attributes

SceneSummary summary
 
std::vector< SceneDrawItem > draws
 
uint64_t skipped_instances {}
 Instances left out past max_draws, or whose transforms are not in memory.
 
ossia::aabb bounds {{1.f, 1.f, 1.f}, {-1.f, -1.f, -1.f}}
 The union of the bounds of what is drawn, in the space of the scene.
 
std::vector< SceneGizmo > gizmos
 

Static Public Attributes

static constexpr std::size_t max_draws = 4096
 The most draws a scene gets, instances included.
 

The documentation for this struct was generated from the following file: