metaforce/specter/include/Specter/View.hpp

23 lines
342 B
C++
Raw Normal View History

2015-11-21 01:14:49 +00:00
#ifndef SPECTER_VIEW_HPP
#define SPECTER_VIEW_HPP
2015-11-21 23:45:02 +00:00
#include <boo/boo.hpp>
2015-11-21 01:14:49 +00:00
namespace Specter
{
class View
{
2015-11-21 23:45:02 +00:00
boo::SWindowRect m_rect;
public:
void bindViewport(boo::IGraphicsCommandQueue* gfxQ)
{
gfxQ->setViewport(m_rect);
}
virtual void draw(boo::IGraphicsCommandQueue* gfxQ)=0;
2015-11-21 01:14:49 +00:00
};
}
#endif // SPECTER_VIEW_HPP