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

Method material_set_texture

StereoKit/Native/NativeAPI.cs:278–279  ·  view source on GitHub ↗
(IntPtr material, string name, IntPtr value)

Source from the content-addressed store, hash-verified

276 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_uint4 (IntPtr material, string name, uint value1, uint value2, uint value3, uint value4);
277 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void material_set_matrix (IntPtr material, string name, Matrix value);
278 [return: MarshalAs(UnmanagedType.Bool)]
279 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern bool material_set_texture (IntPtr material, string name, IntPtr value);
280 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern float material_get_float (IntPtr material, string name);
281 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Color material_get_color (IntPtr material, string name);
282 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern Vec4 material_get_vector4 (IntPtr material, string name);

Callers 1

SetTextureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected