Home
last modified time | relevance | path

Searched refs:roughnessJson (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_loader.cpp797 if (auto roughnessJson = jsonData.find("pbrMetallicRoughness"); roughnessJson) { in ParseMetallicRoughness() local
798 …if (!ParseOptionalMath(loadResult, metallicRoughness.baseColorFactor, *roughnessJson, "baseColorFa… in ParseMetallicRoughness()
803 if (!ParseObject(loadResult, *roughnessJson, "baseColorTexture", in ParseMetallicRoughness()
810 if (!ParseObject(loadResult, *roughnessJson, "metallicRoughnessTexture", in ParseMetallicRoughness()
817 …eOptionalNumber<float>(loadResult, metallicRoughness.metallicFactor, *roughnessJson, "metallicFact… in ParseMetallicRoughness()
822 … if (!ParseOptionalNumber<float>(loadResult, metallicRoughness.roughnessFactor, *roughnessJson, in ParseMetallicRoughness()