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

Method material_set_shader

StereoKit/Native/NativeAPI.cs:301–301  ·  view source on GitHub ↗
(IntPtr material, IntPtr shader)

Source from the content-addressed store, hash-verified

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);
303
304 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr material_buffer_create (int slot, int size);

Callers 1

MaterialClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected