74cb74d3c9
- namespace refactor (example: wiGraphics:: -> wi::graphics) - provided namespace compatibility macro for old user code: WICKEDENGINE_BACKWARDS_COMPATIBILITY_0_59 - resource manager will return `Resource` instead of `shared_ptr<Resource>` objects - MAD shader optimizations - implemented alpha to coverage with alpha tested materials when MSAA is enabled - alpha testing fix with transparent shadow maps - TLAS and scene buffers will be recreated less frequently when things get added/removed from the scene
25 lines
455 B
C++
25 lines
455 B
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
|
|
class Example_ImGuiRenderer : public wi::RenderPath3D
|
|
{
|
|
wi::gui::Label label;
|
|
public:
|
|
void Load() override;
|
|
void Update(float dt) override;
|
|
void ResizeLayout() override;
|
|
void Render() const override;
|
|
};
|
|
|
|
class Example_ImGui : public wi::Application
|
|
{
|
|
Example_ImGuiRenderer renderer;
|
|
|
|
public:
|
|
~Example_ImGui() override;
|
|
void Initialize() override;
|
|
void Compose(wi::graphics::CommandList cmd) override;
|
|
};
|
|
|