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

Method material_set_depth_write

StereoKit/Native/NativeAPI.cs:251–251  ·  view source on GitHub ↗
(IntPtr material, [MarshalAs(UnmanagedType.Bool)] bool write_enabled)

Source from the content-addressed store, hash-verified

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);
251 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_depth_write (IntPtr material, [MarshalAs(UnmanagedType.Bool)] bool write_enabled);
252 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_queue_offset(IntPtr material, int offset);
253 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_chain (IntPtr material, IntPtr chain_material);
254 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Transparency material_get_transparency(IntPtr material);

Callers 1

MaterialClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected