mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-25 20:55:17 +00:00
19 lines
No EOL
646 B
C++
19 lines
No EOL
646 B
C++
#pragma once
|
|
|
|
#include "ModelCtrl.h"
|
|
#include "al/byaml/ByamlIter.h"
|
|
|
|
namespace al {
|
|
struct MaterialCategoryKeeper;
|
|
|
|
class ModelMaterialCategory {
|
|
public:
|
|
ModelMaterialCategory(al::ModelCtrl*, al::MaterialCategoryKeeper*);
|
|
void init(char const*);
|
|
void init(al::ByamlIter const&);
|
|
void getCategoryIdFromMaterialName(char const*) const;
|
|
void getCategoryIdFromMaterialIndex(int) const;
|
|
static void tryCreate(al::ModelCtrl*, al::Resource const*, char const*, al::MaterialCategoryKeeper*);
|
|
static void tryCreate(al::ModelCtrl*, char const*, al::MaterialCategoryKeeper*);
|
|
};
|
|
} |