Skip to content

Commit 7b86395

Browse files
committed
vertexcodec: Fix attributes of meshopt_encodeVertexBufferLevel
This function is intended to be tagged as "experimental" per comment: level currently acts as a no-op when version is set to 0, which may change in the future, and the specific arrangement of level numbers is subject to change.
1 parent 6a5e654 commit 7b86395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/meshoptimizer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ MESHOPTIMIZER_API size_t meshopt_encodeVertexBufferBound(size_t vertex_count, si
292292
*
293293
* level should be in the range [0, 3] with 0 being the fastest and 3 being the slowest and producing the best compression ratio.
294294
*/
295-
MESHOPTIMIZER_API size_t meshopt_encodeVertexBufferLevel(unsigned char* buffer, size_t buffer_size, const void* vertices, size_t vertex_count, size_t vertex_size, int level);
295+
MESHOPTIMIZER_EXPERIMENTAL size_t meshopt_encodeVertexBufferLevel(unsigned char* buffer, size_t buffer_size, const void* vertices, size_t vertex_count, size_t vertex_size, int level);
296296

297297
/**
298298
* Set vertex encoder format version

0 commit comments

Comments
 (0)