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

Method material_has_param

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

Source from the content-addressed store, hash-verified

291 [return: MarshalAs(UnmanagedType.Bool)]
292 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool material_set_texture_id (IntPtr material, ulong id, IntPtr value);
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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected