Expand description
Caller-buffered shoreline attributes for native open water meshes.
Structs§
Enums§
Constants§
- ALLOCATION_
CLASS - SPATIAL_
BUILD_ ALLOCATION_ CLASS - The optional spatial builder delegates to the native bounded cold BVH lifecycle; nearest-edge traversal itself stays allocation-free.
Functions§
- shore_
distance_ accelerated_ into - Accelerated shore-distance field into
out. - shore_
distance_ into - Allocation-free reference calculation; accelerated loading shares its topology.
- shore_
topology_ into - Distance in mesh X/Z units to the nearest topological boundary edge.
edgesis reusable scratch, one u64 per triangle index plus input vertex. Sorted undirected edge keys compact boundary edges in place; no heap is allocated. Separate surfaces keep separate boundaries. Streamed tile seams need shared topology before this authoring pass, not a shader guess about their outline. - spatial_
working_ bytes - Includes caller arrays and the native BVH builder’s bounded centroid scratch.