Nebula
|
#include <tbuicontext.h>
Inherits Graphics::GraphicsContext.
Classes | |
struct | TBUIState |
Public Member Functions | |
TBUIContext () | |
constructor | |
virtual | ~TBUIContext () |
destructor | |
![]() | |
GraphicsContext () | |
constructor | |
virtual | ~GraphicsContext () |
destructor | |
Static Public Member Functions | |
static void | Create () |
Create context. | |
static void | Discard () |
Discard context. | |
static void | FrameUpdate (const Graphics::FrameContext &ctx) |
static TBUIView * | CreateView (int32_t width, int32_t height) |
static void | DestroyView (const TBUIView *view) |
static bool | ProcessInput (const Input::InputEvent &inputEvent) |
Static Public Attributes | |
static TBUIState | state |
Private Member Functions | |
__DeclarePluginContext () | |
Static Private Member Functions | |
static void | Render (const CoreGraphics::CmdBufferId cmdBuf, const Math::rectangle< int > &viewport, const IndexT frame, const IndexT bufferIndex) |
static void | OnWindowResized (const CoreGraphics::WindowId windowId, SizeT width, SizeT height) |
called if the window size has changed | |
Static Private Attributes | |
static TBUIRenderer * | renderer = nullptr |
static TBUIFileInterface | fileInterface |
static TBUISystemInterface | systemInterface |
static TBUIClipboardInterface | clipboardInterface |
static TBUISTBFontRenderer * | stbFontRenderer |
static Util::Array< TBUIView * > | views |
Additional Inherited Members | |
![]() | |
static void | InternalRegisterEntity (const Graphics::GraphicsEntityId id, Graphics::GraphicsContextState &&state) |
static void | InternalDeregisterEntity (const Graphics::GraphicsEntityId id, Graphics::GraphicsContextState &&state) |
template<class ID_ALLOCATOR> | |
static void | InternalDefragment (ID_ALLOCATOR &allocator, Graphics::GraphicsContextState &&state) |
TBUI::TBUIContext::TBUIContext | ( | ) |
constructor
|
virtual |
destructor
|
private |
|
static |
Create context.
|
static |
|
static |
|
static |
Discard context.
|
static |
|
staticprivate |
called if the window size has changed
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |
|
staticprivate |
|
staticprivate |
|
staticprivate |