MTKMeshBufferAllocator.CreateBuffer Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
CreateBuffer(NSData, MDLMeshBufferType) |
Crea e restituisce un buffer mesh con l'oggetto specificato |
CreateBuffer(nuint, MDLMeshBufferType) | |
CreateBuffer(IMDLMeshBufferZone, NSData, MDLMeshBufferType) |
Crea e restituisce un buffer mesh con l'oggetto , |
CreateBuffer(IMDLMeshBufferZone, nuint, MDLMeshBufferType) |
CreateBuffer(NSData, MDLMeshBufferType)
Crea e restituisce un buffer mesh con l'oggetto specificato data
e type
.
[Foundation.Export("newBufferWithData:type:")]
[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.IMDLMeshBuffer CreateBuffer (Foundation.NSData data, ModelIO.MDLMeshBufferType type);
abstract member CreateBuffer : Foundation.NSData * ModelIO.MDLMeshBufferType -> ModelIO.IMDLMeshBuffer
override this.CreateBuffer : Foundation.NSData * ModelIO.MDLMeshBufferType -> ModelIO.IMDLMeshBuffer
Parametri
- data
- NSData
- type
- MDLMeshBufferType
Restituisce
Implementazioni
- Attributi
Si applica a
CreateBuffer(nuint, MDLMeshBufferType)
[Foundation.Export("newBuffer:type:")]
[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.IMDLMeshBuffer CreateBuffer (nuint length, ModelIO.MDLMeshBufferType type);
abstract member CreateBuffer : nuint * ModelIO.MDLMeshBufferType -> ModelIO.IMDLMeshBuffer
override this.CreateBuffer : nuint * ModelIO.MDLMeshBufferType -> ModelIO.IMDLMeshBuffer
Parametri
- length
- System.System.UIntPtr System.unativeint
- type
- MDLMeshBufferType
Restituisce
Implementazioni
- Attributi
Si applica a
CreateBuffer(IMDLMeshBufferZone, NSData, MDLMeshBufferType)
Crea e restituisce un buffer mesh con l'oggetto , data
e type
specificatozone
.
[Foundation.Export("newBufferFromZone:data:type:")]
[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.IMDLMeshBuffer CreateBuffer (ModelIO.IMDLMeshBufferZone zone, Foundation.NSData data, ModelIO.MDLMeshBufferType type);
abstract member CreateBuffer : ModelIO.IMDLMeshBufferZone * Foundation.NSData * ModelIO.MDLMeshBufferType -> ModelIO.IMDLMeshBuffer
override this.CreateBuffer : ModelIO.IMDLMeshBufferZone * Foundation.NSData * ModelIO.MDLMeshBufferType -> ModelIO.IMDLMeshBuffer
Parametri
- zone
- IMDLMeshBufferZone
- data
- NSData
- type
- MDLMeshBufferType
Restituisce
Implementazioni
- Attributi
Si applica a
CreateBuffer(IMDLMeshBufferZone, nuint, MDLMeshBufferType)
[Foundation.Export("newBufferFromZone:length:type:")]
[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.IMDLMeshBuffer CreateBuffer (ModelIO.IMDLMeshBufferZone zone, nuint length, ModelIO.MDLMeshBufferType type);
abstract member CreateBuffer : ModelIO.IMDLMeshBufferZone * nuint * ModelIO.MDLMeshBufferType -> ModelIO.IMDLMeshBuffer
override this.CreateBuffer : ModelIO.IMDLMeshBufferZone * nuint * ModelIO.MDLMeshBufferType -> ModelIO.IMDLMeshBuffer
Parametri
- zone
- IMDLMeshBufferZone
- length
- System.System.UIntPtr System.unativeint
- type
- MDLMeshBufferType
Restituisce
Implementazioni
- Attributi