Skip to content

Simple module for implementing imgui in UnifiedEngine

Notifications You must be signed in to change notification settings

dearcpp/imgui_layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imgui_layer

Simple module for implementing imgui in UnifiedEngine.

Minimal Example

#include <imgui_layer/imgui_layer.hpp>

using namespace Unified;

class ImGuiLayer : public Modules::ImGuiLayer
{
public:

    ImGuiLayer(Application *application) {
        Create(application);
    }

    virtual ~ImGuiLayer() {
        Destroy();
    }

    virtual void OnUpdate(Time) override {
        ImGui::Begin("ImGuiLayer");
        ImGui::Text("Hello World!");
        ImGui::End();
    }

};

Dependencies

About

Simple module for implementing imgui in UnifiedEngine

Resources

Stars

Watchers

Forks