mirror of
https://github.com/Relintai/texture_packer.git
synced 2024-11-12 10:15:16 +01:00
33 lines
679 B
C++
33 lines
679 B
C++
#include "register_types.h"
|
|
|
|
#include "texture_packer.h"
|
|
#include "texture_merger.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() {
|
|
|
|
}
|
|
|