mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-11-25 22:22:05 +00:00
feat: dump techsets for t6
This commit is contained in:
27
src/ObjCommon/Techset/CommonTechset.h
Normal file
27
src/ObjCommon/Techset/CommonTechset.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace techset
|
||||
{
|
||||
class CommonTechniqueTypeNames
|
||||
{
|
||||
public:
|
||||
CommonTechniqueTypeNames(const char** names, size_t nameCount);
|
||||
|
||||
[[nodiscard]] const char* GetTechniqueTypeName(size_t techniqueTypeIndex) const;
|
||||
[[nodiscard]] size_t GetTechniqueTypeCount() const;
|
||||
|
||||
private:
|
||||
std::vector<const char*> m_names;
|
||||
};
|
||||
|
||||
class CommonTechset
|
||||
{
|
||||
public:
|
||||
std::string m_name;
|
||||
std::vector<std::string> m_technique_names;
|
||||
};
|
||||
} // namespace techset
|
||||
Reference in New Issue
Block a user