demotool/ui.hh

35 lines
733 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:
2017-12-28 10:27:23 +01:00
explicit UI( T_FSPath const& path = {} ) noexcept;
~UI( ) 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 );
};