IMTLArgumentEncoder.GetConstantData(UIntPtr) 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.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr GetConstantData(UIntPtr index);
[<Foundation.Export("constantDataAtIndex:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetConstantData : unativeint -> nativeint
override this.GetConstantData : unativeint -> nativeint
Parameters
- index
-
UIntPtr
unativeint
The index for the constant. Either a Metal index ID or the index member of a MTLArgumentDescriptor.
Returns
nativeint
- Attributes