SnapshotItem.ixx File
Snapshot item bundling a Renderable reference and its world matrix. More...
Included Headers
#include <cassert>
#include <memory>
#include <helios.math.types>
#include <helios.rendering.Renderable>
Namespaces Index
| namespace | helios |
| namespace | scene |
Classes Index
| struct | SnapshotItem |
|
Structure for representing a snapshot item of a renderable's object state at a specific point in time. More... | |
Description
Snapshot item bundling a Renderable reference and its world matrix.
File Listing
The file content with the documentation metadata removed is:
15export namespace helios::scene {
38 struct SnapshotItem {
45 const helios::rendering::Renderable* renderable_;
50 const helios::math::mat4f worldMatrix_;
59 * @param renderable A raw pointer to the Renderable (must remain valid for the lifetime of this item).
63 const helios::rendering::Renderable* renderable,
64 const helios::math::mat4f& worldMatrix
66 renderable_(renderable),
67 worldMatrix_(worldMatrix) {
76 [[nodiscard]] const helios::rendering::Renderable* renderable() const noexcept {
87 [[nodiscard]] const helios::math::mat4f& worldMatrix() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.