2017-11-23 22:44:20 +01:00
|
|
|
#pragma once
|
|
|
|
#ifndef REAL_BUILD
|
|
|
|
# include "externals.hh"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct T_OutputDebugger;
|
2017-11-23 23:31:24 +01:00
|
|
|
struct T_Profiler;
|
|
|
|
struct T_ShaderManager;
|
2017-11-24 13:46:43 +01:00
|
|
|
struct T_ShaderProgram;
|
2017-11-23 23:31:24 +01:00
|
|
|
struct T_TextureManager;
|
|
|
|
struct T_UIApp;
|
2017-11-23 22:44:20 +01:00
|
|
|
struct T_UISync;
|
|
|
|
|
|
|
|
|
2017-11-23 23:05:14 +01:00
|
|
|
struct UI
|
2017-11-23 22:44:20 +01:00
|
|
|
{
|
|
|
|
public:
|
2017-12-27 14:15:49 +01:00
|
|
|
static void Init( T_FSPath const& path = {} ) noexcept;
|
2017-11-23 22:44:20 +01:00
|
|
|
static void Shutdown( ) noexcept;
|
|
|
|
|
2017-11-23 22:51:50 +01:00
|
|
|
static T_UIApp& Main( ) noexcept;
|
2017-11-23 23:31:24 +01:00
|
|
|
static T_Profiler& Profiler( ) noexcept;
|
2017-11-23 22:44:20 +01:00
|
|
|
static T_TextureManager& Textures( ) noexcept;
|
|
|
|
static T_ShaderManager& Shaders( ) noexcept;
|
2017-11-24 13:46:43 +01:00
|
|
|
static T_ShaderProgram& FullscreenShader( ) noexcept;
|
|
|
|
static T_ShaderProgram& CopyShader( ) noexcept;
|
2017-11-23 22:44:20 +01:00
|
|
|
static T_OutputDebugger& ODbg( ) noexcept;
|
|
|
|
static T_UISync& Sync( ) noexcept;
|
|
|
|
|
|
|
|
private:
|
2017-11-23 23:05:14 +01:00
|
|
|
UI( ) = delete;
|
2017-11-23 22:44:20 +01:00
|
|
|
NO_COPY( UI );
|
|
|
|
NO_MOVE( UI );
|
|
|
|
};
|