MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / material_set_param

Method material_set_param

StereoKit/Native/NativeAPI.cs:295–295  ·  view source on GitHub ↗
(IntPtr material, string name, MaterialParam type, IntPtr value)

Source from the content-addressed store, hash-verified

293 [return: MarshalAs(UnmanagedType.Bool)]
294 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool material_has_param (IntPtr material, string name, MaterialParam type);
295 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_param (IntPtr material, string name, MaterialParam type, IntPtr value);
296 //[DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_param_id (IntPtr material, ulong id, MaterialParam type, const void *value);
297 //[DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int material_get_param (IntPtr material, string name, MaterialParam type, void *out_value);
298 //[DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int material_get_param_id (IntPtr material, ulong id, MaterialParam type, void *out_value);

Callers 1

SetDataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected