mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-11 22:29:03 +01:00
Vulkan ray tracing: include tracks and roads, build triangle strips and fans
This commit is contained in:
@@ -97,6 +97,9 @@ class ray_tracing
|
||||
std::uint64_t generation{0}; // of the data of the chunk it was built from
|
||||
std::uint64_t used{0}; // the frame it was last met in
|
||||
VkDeviceSize bytes{0};
|
||||
// the triangles of a strip or a fan, which the structure is built from and the shading reads
|
||||
std::shared_ptr<buffer> indices;
|
||||
VkDeviceAddress index_address{0};
|
||||
};
|
||||
struct frame_data
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user