charcoal/CharcoalBuiltin/WithCamera.h
elipzer 0c767e9441 Added Pipelines!
Greatly streamline the concept of rendering and abstract rendering
so that scenes can render from many different pipelines if they
want to!.
2018-10-14 15:06:51 -04:00

20 lines
282 B
C++

#pragma once
#include <charcoal/Camera.h>
namespace charcoal
{
namespace builtin
{
class WithCamera
{
public:
void set_camera(Camera* camera) { m_p_camera = camera; }
Camera* get_camera() { return m_p_camera; }
private:
Camera* m_p_camera = nullptr;
};
}
}