2017-01-20 08:36:52 -05:00
|
|
|
#pragma once
|
|
|
|
|
2016-01-22 05:59:43 -05:00
|
|
|
namespace Assets
|
|
|
|
{
|
|
|
|
class IMaterialTechniqueSet : public Components::AssetHandler::IAsset
|
|
|
|
{
|
2016-01-26 10:12:41 -05:00
|
|
|
public:
|
2022-06-22 11:36:06 -04:00
|
|
|
Game::XAssetType getType() override { return Game::XAssetType::ASSET_TYPE_TECHNIQUE_SET; }
|
2016-01-22 05:59:43 -05:00
|
|
|
|
2022-06-22 11:36:06 -04:00
|
|
|
void save(Game::XAssetHeader header, Components::ZoneBuilder::Zone* builder) override;
|
|
|
|
void mark(Game::XAssetHeader header, Components::ZoneBuilder::Zone* builder) override;
|
|
|
|
void load(Game::XAssetHeader* header, const std::string& name, Components::ZoneBuilder::Zone* builder) override;
|
2019-02-01 16:16:42 -05:00
|
|
|
|
2022-06-22 11:36:06 -04:00
|
|
|
void loadNative(Game::XAssetHeader* header, const std::string& name, Components::ZoneBuilder::Zone* builder);
|
|
|
|
void loadBinary(Game::XAssetHeader* header, const std::string& name, Components::ZoneBuilder::Zone* builder);
|
2019-02-01 16:16:42 -05:00
|
|
|
|
2022-06-22 11:36:06 -04:00
|
|
|
void loadBinaryTechnique(Game::MaterialTechnique** tech, const std::string& name, Components::ZoneBuilder::Zone* builder);
|
2016-01-22 05:59:43 -05:00
|
|
|
};
|
2016-06-28 06:46:28 -04:00
|
|
|
}
|