IMTLArgumentEncoder.GetConstantData(nuint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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