MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
GeometrySlot.hpp
Go to the documentation of this file.
1#pragma once
2
4
6
7/**
8 * @struct GeometrySlot
9 * @brief Peer unit within an InstanceNetwork.
10 *
11 * Holds any GeometryWriterNode subclass. All per-vertex data (color, normals,
12 * UVs, tangents) lives in the node's vertex buffer. The slot carries only
13 * the per-instance world transform driven by operators or set directly.
14 * dirty signals the buffer layer that the SSBO entry for this slot needs
15 * re-upload.
16 */
18 uint32_t index {};
19 std::string name;
20 std::shared_ptr<GpuSync::GeometryWriterNode> node;
21 glm::mat4 transform { 1.0F };
22 bool dirty { true };
23};
24
25} // namespace MayaFlux::Nodes::Network
std::shared_ptr< GpuSync::GeometryWriterNode > node
Peer unit within an InstanceNetwork.