mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-29 08:07:52 -05:00
Add basis for iw4 techset dumping
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include "Dumping/AbstractAssetDumper.h"
|
||||
#include "Game/IW4/IW4.h"
|
||||
|
||||
namespace IW4
|
||||
{
|
||||
class AssetDumperTechniqueSet final : public AbstractAssetDumper<MaterialTechniqueSet>
|
||||
{
|
||||
static std::string GetTechniqueFileName(const MaterialTechnique* technique);
|
||||
static std::string GetTechsetFileName(const MaterialTechniqueSet* techset);
|
||||
|
||||
protected:
|
||||
bool ShouldDump(XAssetInfo<MaterialTechniqueSet>* asset) override;
|
||||
void DumpAsset(AssetDumpingContext& context, XAssetInfo<MaterialTechniqueSet>* asset) override;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user