Beispiel #1
0
 internal MDLMesh(MDLMesh mesh, int submeshIndex, uint subdivisionLevels, IMDLMeshBufferAllocator allocator)
 {
     InitializeHandle(InitMesh(mesh, submeshIndex, subdivisionLevels, allocator), "initMeshBySubdividingMesh:submeshIndex:subdivisionLevels:allocator:");
 }
Beispiel #2
0
 public static MDLMesh CreateSubdividedMesh(MDLMesh mesh, int submeshIndex, uint subdivisionLevels, IMDLMeshBufferAllocator allocator)
 {
     return(new MDLMesh(mesh, submeshIndex, subdivisionLevels, allocator));
 }