SpiecsEngine
Loading...
Searching...
No Matches
◆
decode()
static bool YAML::convert<
Spices::TextureParam
>::decode
(
const Node &
node
,
Spices::TextureParam
&
param
)
inline
static
Definition at line
108
of file
YamlUtils.h
.
109
{
110
if
(!node.IsSequence() || node.size() != 2)
111
{
112
return
false
;
113
}
114
115
param.
textureType
= node[0].as<std::string>();
116
param.
texturePath
= node[1].as<std::string>();
117
118
return
true
;
119
}
Spices::TextureParam::texturePath
std::string texturePath
Definition
Material.h:29
Spices::TextureParam::textureType
std::string textureType
Definition
Material.h:28
YAML
convert< Spices::TextureParam >
Generated on Sun Mar 8 2026 10:24:51 for SpiecsEngine by
1.10.0