LumixEngine/src/renderer/editor/particle_editor.h
2023-08-08 22:05:37 +02:00

20 lines
580 B
C++

#pragma once
#include "editor/studio_app.h"
namespace Lumix {
namespace gpu { struct VertexDecl; }
template <typename T> struct UniquePtr;
struct ParticleEditor {
virtual ~ParticleEditor() {}
static UniquePtr<ParticleEditor> create(StudioApp& app);
static gpu::VertexDecl getVertexDecl(const char* path, u32 emitter_idx, Array<struct String>& attribute_names, StudioApp& app);
static void registerDependencies(const struct Path& path, StudioApp& app);
virtual bool compile(struct InputMemoryStream& input, struct OutputMemoryStream& output, const char* path) = 0;
};
}