|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Platform/Emscripten/EmscriptenPlatform.hpp>
Public Member Functions | |
| EmscriptenPlatform (Engine &engine) | |
| Creates a new Emscripten platform instance. | |
| ~EmscriptenPlatform () noexcept override | |
| Creates a new Emscripten platform instance. | |
| void | run () final |
| Starts running the main application run loop. | |
| void | stop () final |
| Requests the application to stop running. | |
| UPtr< PlatformWindow > | createWindow (const PlatformWindowDescriptor &descriptor) override |
| Creates a new platform window. | |
| UPtr< DispatchQueue > | createDispatchQueue (DispatchQueueType type, StringView name="") override |
| Creates a new queue to which you can submit blocks. | |
Public Member Functions inherited from CeresEngine::POSIXPlatform | |
| IFileSystem * | getLocalFileSystem () const override |
| Gets the underlying platform local file system implementation. | |
| Platform (Engine &engine) | |
Public Member Functions inherited from CeresEngine::Platform | |
| Platform (Engine &engine) | |
| virtual | ~Platform () noexcept |
| virtual FileHandle | openFile (const FilePath &path) const |
| Opens a file on the local file system. | |
Private Attributes | |
| UPtr< Pimpl > | m |
| Hidden implementation class for the platform. | |
Friends | |
| struct | Pimpl |
Additional Inherited Members | |
Static Public Member Functions inherited from CeresEngine::Platform | |
| static Platform & | get () noexcept |
| Gets the current platform. Assets if no platform was initialized. | |
| CeresEngine::EmscriptenPlatform::EmscriptenPlatform | ( | Engine & | engine | ) |
Creates a new Emscripten platform instance.
|
overridenoexcept |
Creates a new Emscripten platform instance.
|
overridevirtual |
Creates a new queue to which you can submit blocks.
Implements CeresEngine::Platform.
|
overridevirtual |
Creates a new platform window.
| descriptor | A descriptor structure that describes the window to be created. |
Implements CeresEngine::Platform.
|
finalvirtual |
Starts running the main application run loop.
Implements CeresEngine::Platform.
|
finalvirtual |
Requests the application to stop running.
Implements CeresEngine::Platform.
Hidden implementation class for the platform.