Lots of refactoring

This commit is contained in:
Dynamitos committed 2024-06-13 15:43:03 +02:00
1 parent df7fbef8bd
commit 42b4d43a6d
19 files changed
+566 -482

No files matched your search

+2
View File
@@ -498,6 +498,8 @@ void MeshLoader::loadGlobalMeshes(const aiScene* scene, const Array<PMaterialIns
globalMeshes[meshIndex]->meshlets = std::move(meshlets);
globalMeshes[meshIndex]->indices = std::move(indices);
globalMeshes[meshIndex]->vertexCount = mesh->mNumVertices;
globalMeshes[meshIndex]->blas =
graphics->createBottomLevelAccelerationStructure(Gfx::BottomLevelASCreateInfo(globalMeshes[meshIndex]));
}
}