Skip to content

File EditorEvents.h

File List > editor > events > EditorEvents.h

Go to the documentation of this file

#pragma once
#include "ID.h"
#include "RenderConfigs.h"

enum ModifyFlags
{
    NoChanges,
    ShadowChanged = 1 << 0
};

struct ObjectSelectedEvent{
    int UID;
    bool increment;
};

struct SelectionChangedEvent {
    ObjectID* obj;
};

struct FrameBufferResetEvent {
    void* pass;   // TODO: buffer ID
    void* result; // TODO: buffer ID
};

struct RenderSurfaceResizedEvent {
    int width, height;
};

struct RenderConfigChangedEvent {
    const RenderConfigs* config;
    ModifyFlags flag;
};