| 931 | } |
| 932 | |
| 933 | void SceneBuilder::replaceMaterial(const ref<Material>& pMaterial, const ref<Material>& pReplacement) |
| 934 | { |
| 935 | FALCOR_CHECK(pMaterial != nullptr, "'pMaterial' is missing"); |
| 936 | FALCOR_CHECK(pReplacement != nullptr, "'pReplacement' is missing"); |
| 937 | mSceneData.pMaterials->replaceMaterial(pMaterial, pReplacement); |
| 938 | } |
| 939 | |
| 940 | void SceneBuilder::loadMaterialTexture(const ref<Material>& pMaterial, Material::TextureSlot slot, const std::filesystem::path& path) |
| 941 | { |
no outgoing calls
no test coverage detected