mirror of
https://github.com/openharmony/third_party_meshoptimizer.git
synced 2026-07-19 20:03:59 -04:00
Update README.md
Remove extraneous sentence.
This commit is contained in:
@@ -101,8 +101,6 @@ When performing the overdraw optimization you have to specify a floating-point t
|
||||
|
||||
After the final triangle order has been established, we still can optimize the vertex buffer for memory efficiency. Before running the vertex shader GPU has to fetch the vertex attributes from the vertex buffer; the fetch is usually backed by a memory cache, and as such optimizing the data for the locality of memory access is important. You can do this by running this code:
|
||||
|
||||
To optimize the index/vertex buffers for vertex fetch efficiency, call:
|
||||
|
||||
```c++
|
||||
meshopt_optimizeVertexFetch(vertices, indices, index_count, vertices, vertex_count, sizeof(Vertex));
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user