demotool/ui.hh

35 lines
755 B
C++
Raw Normal View History

#pragma once
#ifndef REAL_BUILD
# include "externals.hh"
#endif
struct T_OutputDebugger;
struct T_Profiler;
struct T_ShaderManager;
2017-11-24 13:46:43 +01:00
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;
2017-11-24 13:46:43 +01:00
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 );
};