godot/servers/visual/visual_server_global.h
Juan Linietsky 22d83bc9f6 Begining of GLES3 renderer:
-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
2016-10-03 21:35:16 +02:00

27 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