Share via


MDLMesh.CreateSubdividedMesh Method

Definition

Overloads

Name Description
CreateSubdividedMesh(MDLMesh, UIntPtr, UIntPtr)

Subdivides the indexed submesh within the specified mesh, the specified number of times.

CreateSubdividedMesh(MDLMesh, Int32, UInt32, IMDLMeshBufferAllocator)

CreateSubdividedMesh(MDLMesh, UIntPtr, UIntPtr)

Subdivides the indexed submesh within the specified mesh, the specified number of times.

[Foundation.Export("newSubdividedMesh:submeshIndex:subdivisionLevels:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static ModelIO.MDLMesh? CreateSubdividedMesh(ModelIO.MDLMesh mesh, UIntPtr submeshIndex, UIntPtr subdivisionLevels);
[<Foundation.Export("newSubdividedMesh:submeshIndex:subdivisionLevels:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateSubdividedMesh : ModelIO.MDLMesh * unativeint * unativeint -> ModelIO.MDLMesh

Parameters

mesh
MDLMesh
submeshIndex
UIntPtr

unativeint

subdivisionLevels
UIntPtr

unativeint

Returns

Attributes

Applies to

CreateSubdividedMesh(MDLMesh, Int32, UInt32, IMDLMeshBufferAllocator)

public static ModelIO.MDLMesh CreateSubdividedMesh(ModelIO.MDLMesh mesh, int submeshIndex, uint subdivisionLevels, ModelIO.IMDLMeshBufferAllocator allocator);
static member CreateSubdividedMesh : ModelIO.MDLMesh * int * uint32 * ModelIO.IMDLMeshBufferAllocator -> ModelIO.MDLMesh

Parameters

mesh
MDLMesh
submeshIndex
Int32
subdivisionLevels
UInt32
allocator
IMDLMeshBufferAllocator

The allocator to use instead of the default, internal allocator.

This parameter can be null.

Returns

Applies to