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

Method material_set_texture_id

StereoKit/Native/NativeAPI.cs:291–292  ·  view source on GitHub ↗
(IntPtr material, ulong  id,   IntPtr value)

Source from the content-addressed store, hash-verified

289 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Matrix material_get_matrix (IntPtr material, string name);
290 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr material_get_texture (IntPtr material, string name);
291 [return: MarshalAs(UnmanagedType.Bool)]
292 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool material_set_texture_id (IntPtr material, ulong id, IntPtr value);
293 [return: MarshalAs(UnmanagedType.Bool)]
294 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool material_has_param (IntPtr material, string name, MaterialParam type);
295 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_param (IntPtr material, string name, MaterialParam type, IntPtr value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected