IMTLArgumentEncoder.GetConstantData(nuint) Method

Definition

Returns a pointer to the constant at the specified index into the buffer.

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

Parameters

index
System.System.UIntPtr System.unativeint

The index for the constant. Either a Metal index ID or the index member of a MTLArgumentDescriptor.

Returns

IntPtr

nativeint

Attributes

Applies to