PrimeWorldEditor/Core/IRenderable.h

23 lines
524 B
C
Raw Normal View History

#ifndef IRENDERABLE_H
#define IRENDERABLE_H
#include "ERenderOptions.h"
#include <Common/CAABox.h>
#include <Common/types.h>
2015-09-27 22:02:53 +00:00
#include <Core/CFrustumPlanes.h>
class CRenderer;
class IRenderable
{
public:
IRenderable() {}
virtual ~IRenderable() {}
2015-09-27 22:02:53 +00:00
virtual void AddToRenderer(CRenderer *pRenderer, const CFrustumPlanes& frustum) = 0;
virtual void Draw(ERenderOptions options) {}
virtual void DrawAsset(ERenderOptions options, u32 asset) {}
virtual void DrawSelection() {}
};
#endif // IRENDERABLE_H