pandemonium_engine_minimal/servers/rendering/rendering_server_globals.h

25 lines
546 B
C++
Raw Normal View History

2023-12-14 21:54:22 +01:00
#ifndef RENDERING_SERVER_GLOBALS_H
#define RENDERING_SERVER_GLOBALS_H
2023-12-14 21:54:22 +01:00
/* rendering_server_globals.h */
2023-12-14 21:54:22 +01:00
#include "rasterizer.h"
class RenderingServerCanvas;
class RenderingServerViewport;
class RenderingServerGlobals {
public:
static RasterizerStorage *storage;
static RasterizerCanvas *canvas_render;
static Rasterizer *rasterizer;
static RenderingServerCanvas *canvas;
static RenderingServerViewport *viewport;
};
#define RSG RenderingServerGlobals
#endif // RENDERING_SERVER_GLOBALS_H