TLAS
This commit is contained in:
parent
2e11ac6484
commit
e08d5f104a
3 changed files with 108 additions and 112 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue