| 2044 | } |
| 2045 | |
| 2046 | static bool LoadFinalizeGltf(Scene* scene) |
| 2047 | { |
| 2048 | GltfData* data = (GltfData*)scene->m_OpaqueSceneData; |
| 2049 | if (!ValidateSparseAccessorsForUnpack(scene, data->m_Data)) |
| 2050 | return false; |
| 2051 | LoadScene(scene, data->m_Data); |
| 2052 | return scene->m_LoadError == 0; |
| 2053 | } |
| 2054 | |
| 2055 | static bool ValidateGltf(Scene* scene) |
| 2056 | { |
no test coverage detected