Instance Method

initMeshBySubdividingMesh:submeshIndex:subdivisionLevels:allocator:

No overview available.

Declaration

- (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.