Share via


MDLMeshBufferDataAllocator.CreateZone Method

Definition

Overloads

Name Description
CreateZone(UIntPtr)

Creates and returns a new mesh buffer 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(UIntPtr)

Creates and returns a new mesh buffer zone with the specified capacity.

[Foundation.Export("newZone:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ModelIO.IMDLMeshBufferZone CreateZone(UIntPtr capacity);
[<Foundation.Export("newZone:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateZone : unativeint -> ModelIO.IMDLMeshBufferZone
override this.CreateZone : unativeint -> ModelIO.IMDLMeshBufferZone

Parameters

capacity
UIntPtr

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.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ModelIO.IMDLMeshBufferZone CreateZone(Foundation.NSNumber[] sizes, Foundation.NSNumber[] types);
[<Foundation.Export("newZoneForBuffersWithSize:andType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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