Skip to main content

ViewportSnapshot.ixx File

Immutable snapshot of viewport state for frame-consistent rendering. More...

Included Headers

Namespaces Index

namespacehelios
namespacerendering

Graphics rendering infrastructure. More...

Classes Index

structViewportSnapshot

Immutable snapshot of a Viewport's state at a specific point in time. More...

Description

Immutable snapshot of viewport state for frame-consistent rendering.

File Listing

The file content with the documentation metadata removed is:

1/**
2 * @file ViewportSnapshot.ixx
3 * @brief Immutable snapshot of viewport state for frame-consistent rendering.
4 */
5module;
6
7
8
9export module helios.rendering.ViewportSnapshot;
10
11import helios.engine.common.types.ViewportId;
12import helios.math.types;
13import helios.core.types;
14
15export namespace helios::rendering {
16
17 /**
18 * @brief Immutable snapshot of a Viewport's state at a specific point in time.
19 *
20 * ViewportSnapshot captures the essential viewport data needed for rendering,
21 * including viewport ID and both normalized and absolute bounds. This allows
22 * systems to work with consistent viewport data throughout a frame, even if
23 * the source Viewport is modified.
24 */
26
27 /**
28 * @brief Unique identifier for the viewport.
29 */
31
32 /**
33 * @brief Normalized bounds [x, y, width, height] in range [0, 1].
34 */
36
37 /**
38 * @brief Absolute bounds [x, y, width, height] in pixels.
39 */
41 };
42
43
44} // namespace helios::rendering

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.