Reworking shader compilation to not need reflection

This commit is contained in:
Dynamitos committed 2020-09-30 13:48:41 +02:00
1 parent facbfed79c
commit 79388bf41a
15 files changed
+330 -4

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#pragma once
#include "Actor.h"
namespace Seele
{
DECLARE_REF(CameraComponent)
class CameraActor : public Actor
{
public:
CameraActor();
virtual ~CameraActor();
PCameraComponent getCameraComponent() const
{
return cameraComponent;
}
private:
PCameraComponent cameraComponent;
PComponent sceneComponent; // This will be the root, camera will be the child
};
DEFINE_REF(CameraActor);
} // namespace Seele