2015-08-15 04:04:56 +00:00
|
|
|
#ifndef IRENDERABLE_H
|
|
|
|
#define IRENDERABLE_H
|
|
|
|
|
|
|
|
#include "ERenderOptions.h"
|
|
|
|
#include <Common/CAABox.h>
|
|
|
|
#include <Common/types.h>
|
|
|
|
|
|
|
|
class CRenderer;
|
|
|
|
|
|
|
|
class IRenderable
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
IRenderable() {}
|
|
|
|
virtual ~IRenderable() {}
|
|
|
|
virtual void AddToRenderer(CRenderer *pRenderer) = 0;
|
2015-08-16 04:29:37 +00:00
|
|
|
virtual void Draw(ERenderOptions options) {}
|
|
|
|
virtual void DrawAsset(ERenderOptions options, u32 asset) {}
|
2015-08-15 04:04:56 +00:00
|
|
|
virtual void DrawSelection() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // IRENDERABLE_H
|