Instance Method


No overview available.


- (instancetype)initMeshBySubdividingMesh:(MDLMesh *)mesh submeshIndex:(int)submeshIndex subdivisionLevels:(unsigned int)subdivisionLevels allocator:(id<MDLMeshBufferAllocator>)allocator;

See Also

Creating a Custom Mesh

- initWithVertexBuffer:vertexCount:descriptor:submeshes:

Creates a mesh from a single vertex buffer with the specified parameters.

- initWithVertexBuffers:vertexCount:descriptor:submeshes:

Creates a mesh by unifying vertex data from multiple sources with the specified parameters.

+ newSubdividedMesh:submeshIndex:subdivisionLevels:

Creates a new mesh by subdividing the specified mesh.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software