編輯

共用方式為


MDLMeshBufferDataAllocator.CreateZone Method

Definition

Overloads

CreateZone(nuint)

Creates a new zone with the specified capacity.

CreateZone(NSNumber[], NSNumber[])

Creates a new zone that is large enough to contain buffers from the list of sizes and corresponding types.

CreateZone(nuint)

Creates a new 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 a new zone that is large enough to contain buffers from the list of sizes and corresponding 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

Applies to