Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/tools/editor/include/materialeditor.hpp

26 lines
548 B
C++
Executable file

#pragma once
#include "asset.hpp"
#include "prismeditor.hpp"
#include "scene.hpp"
class MaterialEditor : public Editor {
public:
Renderable* renderable = nullptr;
AssetPtr<Material> material;
Scene* scene = nullptr;
bool showOutliner = true;
bool showProperties = true;
bool has_menubar() const override;
std::string get_title() const override;
Scene* get_scene() const override;
void setup_windows(ImGuiID dockspace) override;
void setup_material();
void draw(CommonEditor* editor) override;
};