Snapshot.ixx File
Represents an immutable snapshot of a SceneGraph at a given point in time. More...
Included Headers
#include <memory>
#include <span>
#include <vector>
#include <helios.math.types>
#include <helios.scene.SnapshotItem>
#include <helios.rendering.Viewport>
Namespaces Index
| namespace | helios |
| namespace | scene |
Classes Index
| class | Snapshot |
|
Represents an immutable snapshot of a SceneGraph at a given point in time. More... | |
Description
Represents an immutable snapshot of a SceneGraph at a given point in time.
File Listing
The file content with the documentation metadata removed is:
18export namespace helios::scene {
50 const helios::math::mat4f viewMatrix_;
53 * @brief A const collection of `SnapshotItem`s representing all renderable objects visible in this Snapshot.
57 const std::vector<SnapshotItem> snapshotItems_;
62 const helios::rendering::Viewport& viewport_;
103 const math::mat4f& projectionMatrix,
104 const math::mat4f& viewMatrix,
105 std::vector<SnapshotItem> snapshotItems) noexcept :
108 viewMatrix_(viewMatrix),
109 snapshotItems_(std::move(snapshotItems))
119 [[nodiscard]] std::span<const SnapshotItem> snapshotItems() const noexcept {
120 return snapshotItems_;
128 [[nodiscard]] const helios::rendering::Viewport& viewport() const noexcept {
129 return viewport_;
140 [[nodiscard]] const helios::math::mat4f& projectionMatrix() const noexcept {
141 return projectionMatrix_;
152 [[nodiscard]] const helios::math::mat4f& viewMatrix() const noexcept {
153 return viewMatrix_;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.