Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
|
Public Member Functions | |
virtual bool | Initialize (CreateInfo &createInfo) override |
virtual void | Show () override |
virtual void | Hide () override |
virtual bool | ShouldClose () override |
virtual void | HandleEvents () override |
virtual void | SetFullscreen (FullscreenMode mode) override |
virtual void | GetWindowRect (unsigned int &left, unsigned int &top, unsigned int &right, unsigned int &bottom) const override |
virtual void | GetWindowSize (unsigned int &width, unsigned int &height) const override |
virtual void | SetWindowSize (unsigned int width, unsigned int height) override |
virtual void | SetMousePos (unsigned int x, unsigned int y) override |
virtual void | GetMousePos (unsigned int &x, unsigned int &y) const override |
virtual void | SetCursorMode (Grindstone::Input::CursorMode cursorMode) override |
virtual Grindstone::Input::CursorMode | GetCursorMode () const override |
virtual void | SetMouseIsRawMotion (bool isRawMotion) override |
virtual bool | GetMouseIsRawMotion () const override |
virtual void | SetWindowPos (unsigned int x, unsigned int y) override |
virtual void | GetWindowPos (unsigned int &x, unsigned int &y) const override |
virtual bool | GetWindowFocus () const override |
virtual void | SetWindowFocus (bool isFocused) override |
virtual bool | GetWindowMinimized () const override |
virtual void | GetTitle (char *allocatedBuffer) const override |
virtual void | SetTitle (const char *title) override |
virtual void | SetWindowAlpha (float alpha) override |
virtual float | GetWindowDpiScale () const override |
virtual void | Close () override |
virtual void | OnSwapchainResized (int width, int height) |
virtual bool | CopyStringToClipboard (const std::string &stringToCopy) override |
virtual std::filesystem::path | BrowseFolder (std::filesystem::path &defaultPath) override |
virtual std::filesystem::path | OpenFileDialogue (const char *filter) override |
virtual std::filesystem::path | SaveFileDialogue (const char *filter) override |
virtual void | ExplorePath (const char *path) override |
virtual void | OpenFileUsingDefaultProgram (const char *path) override |
virtual GLFWwindow * | GetHandle () const |
![]() | |
Grindstone::GraphicsAPI::WindowGraphicsBinding * | GetWindowGraphicsBinding () const |
void | AddBinding (Grindstone::GraphicsAPI::WindowGraphicsBinding *wgb) |
void | ImmediateSetContext () |
void | ImmediateSwapBuffers () |
bool | IsSwapchainControlledByEngine () const |
Window (System.IntPtr p) | |
void | Close () |
void | Show () |
void | Hide () |
Public Attributes | |
EngineCore * | engineCore = nullptr |
Additional Inherited Members | |
![]() | |
enum class | FullscreenMode |
enum | FullscreenMode { Windowed , Borderless , Fullscreen } |
![]() | |
static Grindstone::Window * | Create (CreateInfo &createInfo) |
![]() | |
Grindstone::GraphicsAPI::WindowGraphicsBinding * | windowsGraphicsBinding = nullptr |
bool | isSwapchainControlledByEngine |
![]() | |
static Window | Current [get] |
FullscreenMode | Fullscreen [set] |
Rect | WindowRect [get] |
Float2 | Size [get, set] |
Float2 | Position [get, set] |
bool | IsFocused [get, set] |
bool | IsMinimized [get] |
string | Title [get, set] |
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.
|
overridevirtual |
Implements Grindstone.Window.