Back to class index
| VertexBuffer::WeldVerticesSyntaxint VertexBuffer::WeldVertices(float positionEpsilon, float otherEpsilon);Optimizes this vertex buffer and snaps all vertices that have positions within the given positionEpsilon, and other attributes within the given otherEpsilon threshold. Note This function doesn't adjust the number of vertices in the buffer, but instead simply snaps near-identical vertices to have exactly identical values. Return ValueThe number of vertices welded. Leave a Comment |