Add GDSOFTCLASS to deeper inheritors of Object

This commit is contained in:
Edward Moulsdale
2025-09-24 19:15:46 +01:00
parent 1ce3101fbc
commit e366471fdc
51 changed files with 154 additions and 18 deletions

View File

@ -33,6 +33,8 @@
#include "core/io/resource_loader.h"
class ResourceFormatDDS : public ResourceFormatLoader {
GDSOFTCLASS(ResourceFormatDDS, ResourceFormatLoader);
public:
virtual Ref<Resource> load(const String &p_path, const String &p_original_path = "", Error *r_error = nullptr, bool p_use_sub_threads = false, float *r_progress = nullptr, CacheMode p_cache_mode = CACHE_MODE_REUSE) override;
virtual void get_recognized_extensions(List<String> *p_extensions) const override;