demotool/ui.hh
Emmanuel BENOîT ae3958f785 Project manager - Use project path to load everything
+ Curves, script and shaders are loaded from the path of the project.
+ Main tool can be passed a parameter to specify the project's root.
2017-11-24 14:53:41 +01:00

34 lines
755 B
C++

#pragma once
#ifndef REAL_BUILD
# include "externals.hh"
#endif
struct T_OutputDebugger;
struct T_Profiler;
struct T_ShaderManager;
struct T_ShaderProgram;
struct T_TextureManager;
struct T_UIApp;
struct T_UISync;
struct UI
{
public:
static void Init( T_String const& path = {} ) noexcept;
static void Shutdown( ) noexcept;
static T_UIApp& Main( ) noexcept;
static T_Profiler& Profiler( ) noexcept;
static T_TextureManager& Textures( ) noexcept;
static T_ShaderManager& Shaders( ) noexcept;
static T_ShaderProgram& FullscreenShader( ) noexcept;
static T_ShaderProgram& CopyShader( ) noexcept;
static T_OutputDebugger& ODbg( ) noexcept;
static T_UISync& Sync( ) noexcept;
private:
UI( ) = delete;
NO_COPY( UI );
NO_MOVE( UI );
};