IMDLMeshBufferAllocator.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
| Name | Description |
|---|---|
| CreateZone(UIntPtr) |
Creates and returns a new mesh buffer zone with the specified |
| 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:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ModelIO.IMDLMeshBufferZone CreateZone(UIntPtr capacity);
[<Foundation.Export("newZone:")>]
[<Foundation.RequiredMember>]
[<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
- 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:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual ModelIO.IMDLMeshBufferZone CreateZone(Foundation.NSNumber[] sizes, Foundation.NSNumber[] types);
[<Foundation.Export("newZoneForBuffersWithSize:andType:")>]
[<Foundation.RequiredMember>]
[<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
- Attributes