2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _IRENDERER
|
|
|
|
#define _IRENDERER
|
2022-09-13 04:26:54 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
class IRenderer {
|
|
|
|
public:
|
|
|
|
enum EDrawableSorting {
|
|
|
|
kDS_SortedCallback,
|
|
|
|
kDS_UnsortedCallback,
|
|
|
|
};
|
|
|
|
|
|
|
|
virtual ~IRenderer();
|
|
|
|
// TODO vtable
|
|
|
|
};
|
|
|
|
|
2022-10-05 23:34:32 +00:00
|
|
|
class IObjectStore;
|
2022-09-13 04:26:54 +00:00
|
|
|
class COsContext;
|
|
|
|
class CMemorySys;
|
|
|
|
class CResFactory;
|
|
|
|
|
|
|
|
namespace Renderer {
|
|
|
|
IRenderer* AllocateRenderer(IObjectStore&, COsContext&, CMemorySys&, CResFactory&);
|
2022-10-09 05:13:17 +00:00
|
|
|
}; // namespace Renderer
|
2022-09-13 04:26:54 +00:00
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _IRENDERER
|