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

Method material_get_param_info

StereoKit/Native/NativeAPI.cs:299–299  ·  view source on GitHub ↗

[DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_param_id (IntPtr material, ulong id, MaterialParam type, const void *value); [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int material_get_param (IntPtr material, string name, MaterialParam type, void *out_value); [DllImport(dll, CharSet = cSet, Ca

(IntPtr material, int index, out IntPtr out_name, out MaterialParam out_type)

Source from the content-addressed store, hash-verified

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);
299 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_get_param_info (IntPtr material, int index, out IntPtr out_name, out MaterialParam out_type);
300 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int material_get_param_count (IntPtr material);
301 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_shader (IntPtr material, IntPtr shader);
302 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr material_get_shader (IntPtr material);

Callers 2

GetAllParamInfoMethod · 0.80
GetParamInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected