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

Method mesh_set_inds

StereoKit/Native/NativeAPI.cs:148–148  ·  view source on GitHub ↗
(IntPtr mesh, [In] uint[] indices, int index_count)

Source from the content-addressed store, hash-verified

146 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void mesh_get_verts (IntPtr mesh, out IntPtr out_vertices, out int out_vertex_count, Memory reference_mode);
147 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int mesh_get_vert_count (IntPtr mesh);
148 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void mesh_set_inds (IntPtr mesh, [In] uint[] indices, int index_count);
149 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void mesh_get_inds (IntPtr mesh, out IntPtr out_indices, out int out_index_count, Memory reference_mode); // [Out, MarshalAs(unmanagedType:UnmanagedType.LPArray, SizeParamIndex=2)]
150 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern int mesh_get_ind_count (IntPtr mesh);
151 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void mesh_set_draw_inds (IntPtr mesh, int index_count);

Callers 1

SetIndsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected