22d83bc9f6
-Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
26 lines
528 B
C++
26 lines
528 B
C++
#ifndef VISUALSERVERGLOBAL_H
|
|
#define VISUALSERVERGLOBAL_H
|
|
|
|
#include "rasterizer.h"
|
|
|
|
class VisualServerCanvas;
|
|
class VisualServerViewport;
|
|
class VisualServerScene;
|
|
|
|
class VisualServerGlobals
|
|
{
|
|
public:
|
|
|
|
static RasterizerStorage *storage;
|
|
static RasterizerCanvas *canvas_render;
|
|
static RasterizerScene *scene_render;
|
|
static Rasterizer *rasterizer;
|
|
|
|
static VisualServerCanvas *canvas;
|
|
static VisualServerViewport *viewport;
|
|
static VisualServerScene *scene;
|
|
};
|
|
|
|
#define VSG VisualServerGlobals
|
|
|
|
#endif // VISUALSERVERGLOBAL_H
|