次の方法で共有


IMTLDevice.CreateBuffer メソッド

定義

オーバーロード

CreateBuffer(nuint, MTLResourceOptions)
CreateBuffer(IntPtr, nuint, MTLResourceOptions)

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

戻り値

属性

適用対象

CreateBuffer(IntPtr, nuint, MTLResourceOptions)

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

パラメーター

pointer
IntPtr

nativeint

length
System.System.UIntPtr System.unativeint

戻り値

属性

適用対象