MTKMeshBufferAllocator.CreateBuffer Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
CreateBuffer(NSData, MDLMeshBufferType) |
Cria e retorna um buffer de malha com os fornecidos |
CreateBuffer(nuint, MDLMeshBufferType) | |
CreateBuffer(IMDLMeshBufferZone, NSData, MDLMeshBufferType) |
Cria e retorna um buffer de malha com os fornecidos |
CreateBuffer(IMDLMeshBufferZone, nuint, MDLMeshBufferType) |
CreateBuffer(NSData, MDLMeshBufferType)
Cria e retorna um buffer de malha com os fornecidos 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
Parâmetros
- data
- NSData
- type
- MDLMeshBufferType
Retornos
Implementações
- Atributos
Aplica-se 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
Parâmetros
- length
- System.System.UIntPtr System.unativeint
- type
- MDLMeshBufferType
Retornos
Implementações
- Atributos
Aplica-se a
CreateBuffer(IMDLMeshBufferZone, NSData, MDLMeshBufferType)
Cria e retorna um buffer de malha com os fornecidos zone
, data
e type
.
[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
Parâmetros
- zone
- IMDLMeshBufferZone
- data
- NSData
- type
- MDLMeshBufferType
Retornos
Implementações
- Atributos
Aplica-se 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
Parâmetros
- zone
- IMDLMeshBufferZone
- length
- System.System.UIntPtr System.unativeint
- type
- MDLMeshBufferType
Retornos
Implementações
- Atributos