共用方式為


IMTLHeap.CreateBuffer(nuint, MTLResourceOptions) 方法

定義

[Foundation.Export("newBufferWithLength:options:")]
[Foundation.Preserve(Conditional=true)]
public Metal.IMTLBuffer CreateBuffer (nuint length, Metal.MTLResourceOptions options);
abstract member CreateBuffer : nuint * Metal.MTLResourceOptions -> Metal.IMTLBuffer

參數

length
System.System.UIntPtr System.unativeint

傳回

屬性

適用於