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

Method material_release

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

Source from the content-addressed store, hash-verified

244 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_id (IntPtr material, string id);
245 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr material_get_id (IntPtr material);
246 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_release (IntPtr material);
247 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_transparency(IntPtr material, Transparency mode);
248 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_cull (IntPtr material, Cull mode);
249 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_wireframe (IntPtr material, [MarshalAs(UnmanagedType.Bool)] bool wireframe);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected