Home
last modified time | relevance | path

Searched refs:GLTF2 (Results 1 - 11 of 11) sorted by relevance

/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Ddata.h32 namespace GLTF2 { namespace
44 BASE_NS::unique_ptr<GLTF2::Material> defaultMaterial;
45 BASE_NS::unique_ptr<GLTF2::Sampler> defaultSampler;
46 GLTF2::Scene* defaultScene { nullptr };
48 BASE_NS::vector<BASE_NS::unique_ptr<GLTF2::Buffer>> buffers;
49 BASE_NS::vector<BASE_NS::unique_ptr<GLTF2::BufferView>> bufferViews;
50 BASE_NS::vector<BASE_NS::unique_ptr<GLTF2::Accessor>> accessors;
51 BASE_NS::vector<BASE_NS::unique_ptr<GLTF2::Mesh>> meshes;
52 BASE_NS::vector<BASE_NS::unique_ptr<GLTF2::Camera>> cameras;
53 BASE_NS::vector<BASE_NS::unique_ptr<GLTF2
[all...]
H A Dgltf2_importer.cpp97 return GLTF2::GLTF_INVALID_INDEX; in FindIndex()
100 Format Convert(GLTF2::ComponentType componentType, size_t componentCount, bool normalized) in Convert()
103 case GLTF2::ComponentType::INVALID: in Convert()
106 case GLTF2::ComponentType::BYTE: in Convert()
132 case GLTF2::ComponentType::UNSIGNED_BYTE: in Convert()
158 case GLTF2::ComponentType::SHORT: in Convert()
184 case GLTF2::ComponentType::UNSIGNED_SHORT: in Convert()
210 case GLTF2::ComponentType::INT: in Convert()
223 case GLTF2::ComponentType::UNSIGNED_INT: in Convert()
236 case GLTF2 in Convert()
[all...]
H A Dgltf2.cpp47 auto loadResult = GLTF2::LoadGLTF(fileManager, uri); in LoadGLTF()
64 auto loadResult = GLTF2::LoadGLTF(fileManager_, data); in LoadGLTF()
78 const GLTF2::Data& data = static_cast<const GLTF2::Data&>(gltfData); in ImportGltfScene()
91 return IGLTF2Importer::Ptr { new GLTF2::GLTF2Importer(*engine_, *renderContext_, ecs) }; in CreateGLTF2Importer()
100 return IGLTF2Importer::Ptr { new GLTF2::GLTF2Importer(*engine_, *renderContext_, ecs, pool) }; in CreateGLTF2Importer()
108 auto loadResult = GLTF2::LoadGLTF(fileManager_, uri); in Load()
111 sceneResult.data.reset(new GLTF2::SceneData(BASE_NS::move(loadResult.data))); in Load()
119 return ISceneImporter::Ptr { new GLTF2::Gltf2SceneImporter(*engine_, *renderContext_, ecs) }; in CreateSceneImporter()
128 return ISceneImporter::Ptr { new GLTF2 in CreateSceneImporter()
[all...]
H A Dgltf2_importer.h62 namespace GLTF2 { namespace
133 GatheredDataTask<T>* PrepareAnimationInputTask(BASE_NS::unordered_map<GLTF2::Accessor*, GatheredDataTask<T>*>&,
134 const GLTF2::AnimationTrack&, IAnimationInputComponentManager*);
136 GatheredDataTask<T>* PrepareAnimationOutputTask(BASE_NS::unordered_map<GLTF2::Accessor*, GatheredDataTask<T>*>&,
137 const GLTF2::AnimationTrack&, IAnimationOutputComponentManager*);
234 } // namespace GLTF2
236 CORE_NS::Entity ImportScene(RENDER_NS::IDevice& device, size_t sceneIndex, const GLTF2::Data& data,
H A Dgltf2_loader.h31 namespace GLTF2 { namespace
49 } // namespace GLTF2
H A Dgltf2_exporter.cpp74 uint64_t BASE_NS::hash(const CORE3D_NS::GLTF2::ComponentType& val) in hash()
80 uint64_t BASE_NS::hash(const CORE3D_NS::GLTF2::DataType& val) in hash()
86 uint64_t BASE_NS::hash(const CORE3D_NS::GLTF2::BufferTarget& val) in hash()
111 GLTF2::FilterMode GetFilterMode(Filter filter) in GetFilterMode()
114 return GLTF2::FilterMode::NEAREST; in GetFilterMode()
116 return GLTF2::FilterMode::LINEAR; in GetFilterMode()
119 return GLTF2::FilterMode::NEAREST; in GetFilterMode()
122 GLTF2::FilterMode GetFilterMode(Filter filter, Filter mipmapMode) in GetFilterMode()
126 return GLTF2::FilterMode::NEAREST_MIPMAP_NEAREST; in GetFilterMode()
128 return GLTF2 in GetFilterMode()
187 namespace GLTF2 { global() namespace
[all...]
H A Dgltf2_exporter.h32 namespace GLTF2 { namespace
57 } // namespace GLTF2
H A Dgltf2_util.h27 namespace GLTF2 { namespace
28 // Helper functions to access GLTF2 data.
133 } // namespace GLTF2
H A Dgltf2_util.cpp32 namespace GLTF2 { namespace
249 // Helper functions to access GLTF2 data
1172 BufferLoadResult result = GLTF2::LoadBuffers(*this, fileManager_); in LoadBuffers()
1282 SceneData::SceneData(unique_ptr<GLTF2::Data> data) : data_(BASE_NS::move(data)) {} in SceneData()
1284 const GLTF2::Data* SceneData::GetData() const in GetData()
1338 } // namespace GLTF2
H A Dgltf2_data_structures.h54 namespace GLTF2 { namespace
109 INT = 5124, // not used in GLTF2
809 } // namespace GLTF2
H A Dgltf2_loader.cpp44 inline void SetError(CORE3D_NS::GLTF2::LoadResult& loadResult, const BASE_NS::string_view message) in SetError()
60 namespace GLTF2 { namespace
2935 result = GLTF2::LoadGLTF(fileManager, tmpFileName);
2946 } // namespace GLTF2

Completed in 12 milliseconds