26 void add(std::unique_ptr<Intersectable> intersectable);
27 void add(std::unique_ptr<PrimitiveMetadata> metadata);
28 void add(std::unique_ptr<Emitter> emitter);
29 void add(std::unique_ptr<math::Transform> transform);
31 void add(std::vector<std::unique_ptr<math::Transform>>&& transforms);
73 std::vector<std::unique_ptr<Intersectable>> m_intersectables;
74 std::vector<std::unique_ptr<PrimitiveMetadata>> m_primitiveMetadatas;
75 std::vector<std::unique_ptr<Emitter>> m_emitters;
76 std::vector<std::unique_ptr<math::Transform>> m_transforms;
Definition CookedDataStorage.h:18
std::size_t numEmitters() const
Definition CookedDataStorage.cpp:96
CookedDataStorage(const CookedDataStorage &other)=delete
CookedDataStorage()=default
void add(std::unique_ptr< Intersectable > intersectable)
Definition CookedDataStorage.cpp:27
~CookedDataStorage()=default
void clear()
Definition CookedDataStorage.cpp:12
TConstIteratorProxy< std::vector< std::unique_ptr< PrimitiveMetadata > > > primitiveMetadatas() const
Definition CookedDataStorage.h:52
TConstIteratorProxy< std::vector< std::unique_ptr< Emitter > > > emitters() const
Definition CookedDataStorage.h:62
TConstIteratorProxy< std::vector< std::unique_ptr< Intersectable > > > intersectables() const
Definition CookedDataStorage.h:42
std::size_t numIntersectables() const
Definition CookedDataStorage.cpp:91
CookedDataStorage & operator=(const CookedDataStorage &rhs)=delete
TIteratorProxy< std::vector< std::unique_ptr< Intersectable > > > intersectables()
Definition CookedDataStorage.h:37
TIteratorProxy< std::vector< std::unique_ptr< Emitter > > > emitters()
Definition CookedDataStorage.h:57
TIteratorProxy< std::vector< std::unique_ptr< PrimitiveMetadata > > > primitiveMetadatas()
Definition CookedDataStorage.h:47
Definition TConstIteratorProxy.h:8
Definition TIteratorProxy.h:8
The root for all renderer implementations.
Definition EEngineProject.h:6