Return a pointer to the mesh name as UTF-8 bytes (not null-terminated).
out_len receives the byte length. Use Marshal.PtrToStringUTF8(ptr, len) in C#.
The pointer is valid as long as the handle is alive.
Return a pointer to the position data (tightly packed [x, y, z] floats, left-handed).
out_len receives the total number of float values (vertex_count × 3).
The pointer is valid as long as the handle is alive.
Return a pointer to the index data for submesh_idx as u16.
out_len receives the number of index values.
Returns null if the format is u32 or the submesh index is out of range.
Return a pointer to the index data for submesh_idx as u32.
out_len receives the number of index values.
Returns null if the format is u16 or the submesh index is out of range.