IMTLArgumentEncoder.SetTextures(IMTLTexture[], NSRange) 方法

定义

将提供的 textures 编码到参数缓冲区中。

[Foundation.Export("setTextures:withRange:")]
[Foundation.Preserve(Conditional=true)]
public void SetTextures (Metal.IMTLTexture[] textures, Foundation.NSRange range);
abstract member SetTextures : Metal.IMTLTexture[] * Foundation.NSRange -> unit

参数

textures
IMTLTexture[]

要从中选择要编码的纹理的纹理数组。

range
NSRange

索引到 textures。 金属索引 ID 或 的 MTLArgumentDescriptor索引成员。

属性

适用于