IMTLArgumentEncoder.GetConstantData(nuint) 方法

定义

返回指向缓冲区中指定 index 处的常量的指针。

[Foundation.Export("constantDataAtIndex:")]
[Foundation.Preserve(Conditional=true)]
public IntPtr GetConstantData (nuint index);
abstract member GetConstantData : nuint -> nativeint

参数

index
System.System.UIntPtr System.unativeint

常量的索引。 金属索引 ID 或 的 MTLArgumentDescriptor索引成员。

返回

IntPtr

nativeint

属性

适用于