MTLFunctionConstantValues.SetConstantValue 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.
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
- type
- MTLDataType
- 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
- type
- MTLDataType
- name
- String
- Attributes