Moved deprecated attr at beginning of functions
This commit is contained in:
@@ -19,10 +19,10 @@ namespace OpenVulkano::Image
|
||||
virtual ~IImageLoader() = default;
|
||||
|
||||
static std::unique_ptr<Image> loadData(const uint8_t* data, int size, int desiredChannels = 0);
|
||||
virtual std::unique_ptr<Image> loadFromFile(const std::string& filePath) [[deprecated]] = 0;
|
||||
[[deprecated]] virtual std::unique_ptr<Image> loadFromFile(const std::string& filePath) = 0;
|
||||
virtual std::unique_ptr<Image> loadFromMemory(const std::vector<uint8_t>& buffer) = 0;
|
||||
virtual Math::Vector2i GetImageDimensions(const std::string& filename) [[deprecated]] = 0;
|
||||
[[deprecated]] virtual Math::Vector2i GetImageDimensions(const std::string& filename) = 0;
|
||||
protected:
|
||||
static Math::Vector2i GetDimensionsInternal(const std::string& filename) [[deprecated]];
|
||||
[[deprecated]] static Math::Vector2i GetDimensionsInternal(const std::string& filename);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user