refactor: connect context, remove network manager pass to opDef

This commit is contained in:
parker
2025-07-14 20:19:49 +01:00
parent 79d8a9096a
commit 1253785f2b
11 changed files with 53 additions and 42 deletions

View File

@@ -1,13 +1,20 @@
#pragma once
#include "Engine/Network/NetworkManager.h"
#include "Engine/Types.h"
#include "Engine/Operator/Geometry.h"
namespace enzo::nt
{
class NetworkManager;
}
namespace enzo::op
{
class Context
{
public:
Context(enzo::nt::OpId opId, enzo::nt::NetworkManager& networkManager);
enzo::geo::Geometry cloneInputGeo(unsigned int inputIndex);
private:
enzo::nt::OpId opId_;
enzo::nt::NetworkManager& networkManager_;