Compartir a través de


IMDLMeshBufferAllocator.CreateBuffer Método

Definición

Sobrecargas

CreateBuffer(NSData, MDLMeshBufferType)

Crea un nuevo búfer a partir de los datos especificados, del tipo especificado, en la zona predeterminada del implementador.

CreateBuffer(nuint, MDLMeshBufferType)
CreateBuffer(IMDLMeshBufferZone, NSData, MDLMeshBufferType)

Crea un nuevo búfer a partir de los datos especificados, del tipo especificado, en la zona especificada.

CreateBuffer(IMDLMeshBufferZone, nuint, MDLMeshBufferType)

CreateBuffer(NSData, MDLMeshBufferType)

Crea un nuevo búfer a partir de los datos especificados, del tipo especificado, en la zona predeterminada del implementador.

[Foundation.Export("newBufferWithData:type:")]
[Foundation.Preserve(Conditional=true)]
public ModelIO.IMDLMeshBuffer CreateBuffer (Foundation.NSData data, ModelIO.MDLMeshBufferType type);
abstract member CreateBuffer : Foundation.NSData * ModelIO.MDLMeshBufferType -> ModelIO.IMDLMeshBuffer

Parámetros

data
NSData

Devoluciones

Atributos

Se aplica a

CreateBuffer(nuint, MDLMeshBufferType)

[Foundation.Export("newBuffer:type:")]
[Foundation.Preserve(Conditional=true)]
public ModelIO.IMDLMeshBuffer CreateBuffer (nuint length, ModelIO.MDLMeshBufferType type);
abstract member CreateBuffer : nuint * ModelIO.MDLMeshBufferType -> ModelIO.IMDLMeshBuffer

Parámetros

length
System.System.UIntPtr System.unativeint

Devoluciones

Atributos

Se aplica a

CreateBuffer(IMDLMeshBufferZone, NSData, MDLMeshBufferType)

Crea un nuevo búfer a partir de los datos especificados, del tipo especificado, en la zona especificada.

[Foundation.Export("newBufferFromZone:data:type:")]
[Foundation.Preserve(Conditional=true)]
public ModelIO.IMDLMeshBuffer CreateBuffer (ModelIO.IMDLMeshBufferZone zone, Foundation.NSData data, ModelIO.MDLMeshBufferType type);
abstract member CreateBuffer : ModelIO.IMDLMeshBufferZone * Foundation.NSData * ModelIO.MDLMeshBufferType -> ModelIO.IMDLMeshBuffer

Parámetros

data
NSData

Devoluciones

Atributos

Se aplica a

CreateBuffer(IMDLMeshBufferZone, nuint, MDLMeshBufferType)

[Foundation.Export("newBufferFromZone:length:type:")]
[Foundation.Preserve(Conditional=true)]
public ModelIO.IMDLMeshBuffer CreateBuffer (ModelIO.IMDLMeshBufferZone zone, nuint length, ModelIO.MDLMeshBufferType type);
abstract member CreateBuffer : ModelIO.IMDLMeshBufferZone * nuint * ModelIO.MDLMeshBufferType -> ModelIO.IMDLMeshBuffer

Parámetros

length
System.System.UIntPtr System.unativeint

Devoluciones

Atributos

Se aplica a