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

nativeint

index
System.System.UIntPtr System.unativeint
Attributes

Applies to

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

nativeint

name
String
Attributes

Applies to