The common base class of Nebula.
Definition refcounted.h:38
Definition frameserver.h:21
__DeclareClass(FrameServer)
Ptr< FrameScript > LoadFrameScript(const Resources::ResourceName &name, const IO::URI &path, const CoreGraphics::WindowId window)
load frame script and save with name
Definition frameserver.cc:82
bool isOpen
Definition frameserver.h:51
Util::Dictionary< Resources::ResourceName, Ptr< FrameScript > > frameScripts
Definition frameserver.h:49
void Close()
close server, discards all remaining scripts
Definition frameserver.cc:48
void Open()
open server
Definition frameserver.cc:36
void UnloadFrameScript(const Resources::ResourceName &name)
unload frame script
Definition frameserver.cc:96
CoreGraphics::TextureId windowTexture
Definition frameserver.h:50
const Ptr< FrameScript > & GetFrameScript(const Resources::ResourceName &name)
get script by name
Definition frameserver.h:58
virtual ~FrameServer()
destructor
Definition frameserver.cc:27
void OnWindowResize()
propagate resize to all in all scripts
Definition frameserver.cc:58
void RebuildScripts()
Rebuild all frame scripts.
Definition frameserver.cc:70
bool IsOpen() const
returns true if open
Definition frameserver.h:67
__DeclareSingleton(FrameServer)
FrameServer()
constructor
Definition frameserver.cc:18
An URI object can split a Uniform Resource Identifier string into its components or build a string fr...
Definition uri.h:67
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
A collection of key/value pairs with quick value retrieval by key at roughly O(log n).
Definition dictionary.h:34
A StringAtom.
Definition stringatom.h:22
ImGUI debug interface for inspecting frame scripts.
Definition shaderserverbase.h:52
texture type
Definition texture.h:25