texture_packer/register_types.cpp
2020-01-09 04:29:45 +01:00

31 lines
674 B
C++

#include "register_types.h"
#include "texture_merger.h"
#include "texture_packer.h"
#include "texture_resource/packer_image_resource.h"
#include "layers/texture_layer_merger.h"
#ifdef TOOLS_ENABLED
#include "editor/editor_plugin.h"
#include "texture_resource/editor_plugin_packer_image_resource.h"
#endif
void register_texture_packer_types() {
ClassDB::register_class<TexturePacker>();
ClassDB::register_class<TextureMerger>();
ClassDB::register_class<PackerImageResource>();
ClassDB::register_class<TextureLayerMerger>();
#ifdef TOOLS_ENABLED
EditorPlugins::add_by_type<EditorPluginPackerImageResource>();
#endif
}
void unregister_texture_packer_types() {
}