| 1234567891011121314151617181920212223242526272829303132 |
- #pragma once
- #include "AssetImporter.h"
- namespace ToolCore
- {
- class TextureImporter : public AssetImporter
- {
- OBJECT(TextureImporter);
- public:
- /// Construct.
- TextureImporter(Context* context, Asset* asset);
- virtual ~TextureImporter();
- virtual void SetDefaults();
- Resource* GetResource(const String& typeName = String::EMPTY);
- Node* InstantiateNode(Node* parent, const String& name);
- protected:
- bool Import();
- virtual bool LoadSettingsInternal();
- virtual bool SaveSettingsInternal();
- };
- }
|