MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / deserializeParams

Method deserializeParams

Source/Falcor/Scene/Material/StandardMaterial.cpp:240–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238 }
239
240 void StandardMaterial::deserializeParams(const SerializedMaterialParams& params)
241 {
242 FALCOR_CHECK(getShadingModel() == ShadingModel::MetalRough, "Only MetalRough shading model is supported for serialization.");
243 StandardMaterialParamLayout::deserialize(this, params);
244 }
245
246 FALCOR_SCRIPT_BINDING(StandardMaterial)
247 {

Callers 3

initOptimizationMethod · 0.45
stepMethod · 0.45
setMaterialParamsPythonFunction · 0.45

Calls 1

getShadingModelFunction · 0.85

Tested by

no test coverage detected