mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-21 16:45:44 +00:00
18 lines
614 B
C++
18 lines
614 B
C++
#pragma once
|
|
|
|
#include "AssetLoading/BasicAssetLoader.h"
|
|
#include "Game/IW4/IW4.h"
|
|
#include "SearchPath/ISearchPath.h"
|
|
|
|
namespace IW4
|
|
{
|
|
class AssetLoaderMaterial final : public BasicAssetLoader<ASSET_TYPE_MATERIAL, Material>
|
|
{
|
|
public:
|
|
_NODISCARD void* CreateEmptyAsset(const std::string& assetName, MemoryManager* memory) override;
|
|
_NODISCARD bool CanLoadFromGdt() const override;
|
|
bool LoadFromGdt(
|
|
const std::string& assetName, IGdtQueryable* gdtQueryable, MemoryManager* memory, IAssetLoadingManager* manager, Zone* zone) const override;
|
|
};
|
|
} // namespace IW4
|