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
3
#include "
MayaFlux/Nodes/Graphics/GeometryWriterNode.hpp
"
4
5
namespace
MayaFlux::Nodes::Network
{
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
*/
17
struct
GeometrySlot
{
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
GeometryWriterNode.hpp
MayaFlux::Nodes::Network
Definition
Depot.hpp:41
MayaFlux::Nodes::Network::GeometrySlot::name
std::string name
Definition
GeometrySlot.hpp:19
MayaFlux::Nodes::Network::GeometrySlot::transform
glm::mat4 transform
Definition
GeometrySlot.hpp:21
MayaFlux::Nodes::Network::GeometrySlot::index
uint32_t index
Definition
GeometrySlot.hpp:18
MayaFlux::Nodes::Network::GeometrySlot::node
std::shared_ptr< GpuSync::GeometryWriterNode > node
Definition
GeometrySlot.hpp:20
MayaFlux::Nodes::Network::GeometrySlot::dirty
bool dirty
Definition
GeometrySlot.hpp:22
MayaFlux::Nodes::Network::GeometrySlot
Peer unit within an InstanceNetwork.
Definition
GeometrySlot.hpp:17
src
MayaFlux
Nodes
Network
GeometrySlot.hpp
Generated by
1.9.8