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

Method material_set_transparency

StereoKit/Native/NativeAPI.cs:247–247  ·  view source on GitHub ↗
(IntPtr material, Transparency mode)

Source from the content-addressed store, hash-verified

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);
250 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_depth_test (IntPtr material, DepthTest depth_test_mode);

Callers 1

MaterialClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected