MTLFunctionConstantValues.SetConstantValue Method

Definition

Overloads

SetConstantValue(IntPtr, MTLDataType, nuint)
SetConstantValue(IntPtr, MTLDataType, String)

SetConstantValue(IntPtr, MTLDataType, nuint)

[Foundation.Export("setConstantValue:type:atIndex:")]
public virtual void SetConstantValue (IntPtr value, Metal.MTLDataType type, nuint index);
abstract member SetConstantValue : nativeint * Metal.MTLDataType * nuint -> unit
override this.SetConstantValue : nativeint * Metal.MTLDataType * nuint -> unit

Parameters

value
IntPtr
index
nuint
Attributes

SetConstantValue(IntPtr, MTLDataType, String)

[Foundation.Export("setConstantValue:type:withName:")]
public virtual void SetConstantValue (IntPtr value, Metal.MTLDataType type, string name);
abstract member SetConstantValue : nativeint * Metal.MTLDataType * string -> unit
override this.SetConstantValue : nativeint * Metal.MTLDataType * string -> unit

Parameters

value
IntPtr
name
String
Attributes

Applies to