vertexCreaseIndices
A buffer containing vertex indices to be treated as creases during surface subdivision.
Declaration
var vertexCreaseIndices: (any MDLMeshBuffer)? { get set }Discussion
Each of entry in this buffer identifies a vertex that is to be treated as a crease or point during surface subdivision. The buffer is sparse, containing only those vertex indices to be treated as creases. The corresponding entry in the vertexCreases buffer provides a sharpness value for the crease.
Because the number of entries in this buffer is likely to be different than the number of entries in any other vertex buffer, it shouldn’t be interleaved with other data in the mesh.