MDLMeshBufferDataAllocator.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 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