forked from Dynamitos/Seele
Reworking shader compilation to not need reflection
This commit is contained in:
1 parent
facbfed79c
commit
79388bf41a
15 files changed
+330
-4
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user