IMTLArgumentEncoder.SetBuffers(IMTLBuffer[], IntPtr, NSRange) 方法

定义

编码 buffers 到参数缓冲区。

[Foundation.Export("setBuffers:offsets:withRange:")]
[Foundation.Preserve(Conditional=true)]
public void SetBuffers (Metal.IMTLBuffer[] buffers, IntPtr offsets, Foundation.NSRange range);
abstract member SetBuffers : Metal.IMTLBuffer[] * nativeint * Foundation.NSRange -> unit

参数

buffers
IMTLBuffer[]

参数缓冲区中的缓冲区数组。

offsets
IntPtr

nativeint

包含缓冲区中 的 buffers 字节偏移量。

range
NSRange

索引到 中缓冲区的目标缓冲区中 buffers。 金属索引 ID 或 的 MTLArgumentDescriptor索引成员。

属性

适用于