2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-10-22 14:25:51 +00:00

refactor: streamline shader dumping

This commit is contained in:
Jan Laupetin
2025-08-04 21:36:47 +02:00
parent 408746c54a
commit 472e59991f
7 changed files with 62 additions and 62 deletions

View File

@@ -0,0 +1,14 @@
#pragma once
#include "Dumping/AbstractAssetDumper.h"
#include "Game/IW4/IW4.h"
namespace IW4::shader
{
class VertexShaderDumper final : public AbstractAssetDumper<MaterialVertexShader>
{
protected:
bool ShouldDump(XAssetInfo<MaterialVertexShader>* asset) override;
void DumpAsset(AssetDumpingContext& context, XAssetInfo<MaterialVertexShader>* asset) override;
};
} // namespace IW4::shader