SpiecsEngine
 
Loading...
Searching...
No Matches

◆ SerializeShaderConfig()

void Spices::SerializeShaderConfig ( YAML::Emitter & out,
const std::string & shaderStage,
const std::string & shaderPath )
static

Serialize Shader Config.

Parameters
[in,out]outYAML Emitter.
[in]shaderStageWhat Stage shader use.
[in]shaderPathShader path(short path).

Definition at line 299 of file MaterialLoader.cpp.

300 {
301 out << YAML::BeginMap;
302 out << YAML::Key << "ShaderStage" << YAML::Value << shaderStage;
303 out << YAML::Key << "ShaderPath" << YAML::Value << shaderPath;
304 out << YAML::EndMap;
305 }