This commit is contained in:
Jorijn van der Graaf 2026-01-28 19:16:28 +01:00
commit e08d5f104a
3 changed files with 108 additions and 112 deletions

View file

@ -23,8 +23,8 @@ int main() {
std::array<Vertex, 3> verts {{{-0.1, 0, 0}, {0, 0.1, 0}, {0.1, 0, 0}}};
std::array<std::uint32_t, 3> index {{0,1,2}};
triangleMesh.Build(verts, index, cmd);
// RenderingElement3DVulkan::elements.emplace_back(triangleMesh);
// RenderingElement3DVulkan::BuildTLAS(cmd);
RenderingElement3DVulkan::elements.emplace_back(triangleMesh);
RenderingElement3DVulkan::BuildTLAS(cmd);
/*
FinishInit executes all commands recorded to StartInit.