IMTLArgumentEncoder.SetTextures(IMTLTexture[], NSRange) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将提供的 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索引成员。
- 属性