| 1234567891011121314151617181920212223242526272829303132333435363738 |
- //
- // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
- // LICENSE: Atomic Game Engine Editor and Tools EULA
- // Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for
- // license information: https://github.com/AtomicGameEngine/AtomicGameEngine
- //
- #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(JSONValue& jsonRoot);
- virtual bool SaveSettingsInternal(JSONValue& jsonRoot);
- };
- }
|