Skip to content

Commit 1d86a0d

Browse files
committed
clusterizer: Mark meshopt_optimizeMeshlet as stable
No future changes to the interface are expected. It's unclear if we will need more variants of this algorithm in the future (to optimize for RT?), but if we do they can be added as separate functions.
1 parent b5fde16 commit 1d86a0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/meshoptimizer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,14 +568,14 @@ MESHOPTIMIZER_API size_t meshopt_buildMeshletsBound(size_t index_count, size_t m
568568
MESHOPTIMIZER_API size_t meshopt_buildMeshletsFlex(struct meshopt_Meshlet* meshlets, unsigned int* meshlet_vertices, unsigned char* meshlet_triangles, const unsigned int* indices, size_t index_count, const float* vertex_positions, size_t vertex_count, size_t vertex_positions_stride, size_t max_vertices, size_t min_triangles, size_t max_triangles, float cone_weight, float split_factor);
569569

570570
/**
571-
* Experimental: Meshlet optimizer
571+
* Meshlet optimizer
572572
* Reorders meshlet vertices and triangles to maximize locality to improve rasterizer throughput
573573
*
574574
* meshlet_triangles and meshlet_vertices must refer to meshlet triangle and vertex index data; when buildMeshlets* is used, these
575575
* need to be computed from meshlet's vertex_offset and triangle_offset
576576
* triangle_count and vertex_count must not exceed implementation limits (vertex_count <= 255 - not 256!, triangle_count <= 512)
577577
*/
578-
MESHOPTIMIZER_EXPERIMENTAL void meshopt_optimizeMeshlet(unsigned int* meshlet_vertices, unsigned char* meshlet_triangles, size_t triangle_count, size_t vertex_count);
578+
MESHOPTIMIZER_API void meshopt_optimizeMeshlet(unsigned int* meshlet_vertices, unsigned char* meshlet_triangles, size_t triangle_count, size_t vertex_count);
579579

580580
struct meshopt_Bounds
581581
{

0 commit comments

Comments
 (0)