| 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 | { |
no test coverage detected