mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-30 16:47:57 -05:00
24 lines
651 B
Plaintext
24 lines
651 B
Plaintext
#options GAME (IW4, IW5, T6)
|
|
|
|
#filename "Game/" + GAME + "/Material/JsonMaterialLoader" + GAME + ".h"
|
|
|
|
// This file was templated.
|
|
// See JsonMaterialLoader.h.template.
|
|
// Do not modify, changes will be lost.
|
|
|
|
#pragma once
|
|
|
|
#include "Asset/AssetCreationContext.h"
|
|
#include "Asset/AssetRegistration.h"
|
|
#set GAME_HEADER "\"Game/" + GAME + "/" + GAME + ".h\""
|
|
#include GAME_HEADER
|
|
#include "Utils/MemoryManager.h"
|
|
|
|
#include <istream>
|
|
|
|
namespace GAME
|
|
{
|
|
bool LoadMaterialAsJson(
|
|
std::istream& stream, Material& material, MemoryManager& memory, AssetCreationContext& context, AssetRegistration<AssetMaterial>& registration);
|
|
} // namespace GAME
|