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

Method shader_set_id

StereoKit/Native/NativeAPI.cs:233–233  ·  view source on GitHub ↗
(IntPtr shader, string id)

Source from the content-addressed store, hash-verified

231 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr shader_create_file ([In] byte[] filename_utf8);
232 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr shader_create_mem ([In] byte[] data, UIntPtr data_size);
233 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void shader_set_id (IntPtr shader, string id);
234 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr shader_get_id (IntPtr shader);
235 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr shader_get_name (IntPtr shader);
236 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void shader_release (IntPtr shader);

Callers 1

ShaderClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected