Add count vars

pull/5522/head
Steve M 2024-03-31 20:53:52 -07:00
parent 6459418a6b
commit f42d8ad109
2 changed files with 51 additions and 45 deletions

View File

@ -129,31 +129,6 @@ void USDImporterImplTinyusdz::InternReadFile(
animations(render_scene, pScene);
}
void USDImporterImplTinyusdz::nodes(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene) {
}
void USDImporterImplTinyusdz::materials(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene) {
}
void USDImporterImplTinyusdz::textures(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene) {
}
void USDImporterImplTinyusdz::textureImages(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene) {
}
void USDImporterImplTinyusdz::buffers(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene) {
}
void USDImporterImplTinyusdz::verticesForMesh(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene,
@ -234,9 +209,40 @@ void USDImporterImplTinyusdz::uvsForMesh(
}
}
void USDImporterImplTinyusdz::nodes(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene) {
const size_t numNodes{render_scene.nodes.size()};
}
void USDImporterImplTinyusdz::materials(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene) {
const size_t numMaterials{render_scene.materials.size()};
}
void USDImporterImplTinyusdz::textures(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene) {
const size_t numTextures{render_scene.textures.size()};
}
void USDImporterImplTinyusdz::textureImages(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene) {
const size_t numTextureImages{render_scene.images.size()};
}
void USDImporterImplTinyusdz::buffers(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene) {
const size_t numBuffers{render_scene.buffers.size()};
}
void USDImporterImplTinyusdz::animations(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene) {
const size_t numAnimations{render_scene.animations.size()};
}
} // namespace Assimp

View File

@ -63,26 +63,6 @@ public:
aiScene *pScene,
IOSystem *pIOHandler);
void nodes(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene);
void materials(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene);
void textures(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene);
void textureImages(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene);
void buffers(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene);
void verticesForMesh(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene,
@ -108,6 +88,26 @@ public:
aiScene *pScene,
size_t meshIdx);
void nodes(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene);
void materials(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene);
void textures(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene);
void textureImages(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene);
void buffers(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene);
void animations(
const tinyusdz::tydra::RenderScene &render_scene,
aiScene *pScene);