MTKMeshBufferAllocator.CreateZone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateZone(nuint) |
Creates and returns a new mesh buffer zone with the specified |
CreateZone(NSNumber[], NSNumber[]) |
Creates and returns a new mesh buffer zone for meshes of the corresponding |
CreateZone(nuint)
Creates and returns a new mesh buffer zone with the specified capacity
.
[Foundation.Export("newZone:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual ModelIO.IMDLMeshBufferZone CreateZone (nuint capacity);
abstract member CreateZone : nuint -> ModelIO.IMDLMeshBufferZone
override this.CreateZone : nuint -> ModelIO.IMDLMeshBufferZone
Parameters
- capacity
- System.System.UIntPtr System.unativeint
Returns
Implements
- Attributes
Applies to
CreateZone(NSNumber[], NSNumber[])
Creates and returns a new mesh buffer zone for meshes of the corresponding sizes
and types
.
[Foundation.Export("newZoneForBuffersWithSize:andType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual ModelIO.IMDLMeshBufferZone CreateZone (Foundation.NSNumber[] sizes, Foundation.NSNumber[] types);
abstract member CreateZone : Foundation.NSNumber[] * Foundation.NSNumber[] -> ModelIO.IMDLMeshBufferZone
override this.CreateZone : Foundation.NSNumber[] * Foundation.NSNumber[] -> ModelIO.IMDLMeshBufferZone
Parameters
- sizes
- NSNumber[]
- types
- NSNumber[]
Returns
Implements
- Attributes