ViewportSnapshot Struct
Immutable snapshot of a Viewport's state at a specific point in time. More...
Declaration
Public Member Attributes Index
| helios::engine::common::types::ViewportId | viewportId {helios::core::types::no_init} |
|
Unique identifier for the viewport. More... | |
| helios::math::vec4f | bounds |
|
Normalized bounds [x, y, width, height] in range [0, 1]. More... | |
| helios::math::vec4f | absoluteBounds |
|
Absolute bounds [x, y, width, height] in pixels. More... | |
Description
Immutable snapshot of a Viewport's state at a specific point in time.
ViewportSnapshot captures the essential viewport data needed for rendering, including viewport ID and both normalized and absolute bounds. This allows systems to work with consistent viewport data throughout a frame, even if the source Viewport is modified.
Definition at line 25 of file ViewportSnapshot.ixx.
Public Member Attributes
absoluteBounds
|
Absolute bounds [x, y, width, height] in pixels.
Definition at line 40 of file ViewportSnapshot.ixx.
bounds
|
Normalized bounds [x, y, width, height] in range [0, 1].
Definition at line 35 of file ViewportSnapshot.ixx.
viewportId
|
Unique identifier for the viewport.
Definition at line 30 of file ViewportSnapshot.ixx.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.