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

Method tex_create_mem

StereoKit/Native/NativeAPI.cs:174–174  ·  view source on GitHub ↗
([In] byte[] data, UIntPtr data_size, [MarshalAs(UnmanagedType.Bool)] bool srgb_data, int priority)

Source from the content-addressed store, hash-verified

172 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_create_color32 ([In] Color32[] data, int width, int height, [MarshalAs(UnmanagedType.Bool)] bool srgb_data);
173 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_create_color128 ([In] Color[] data, int width, int height, [MarshalAs(UnmanagedType.Bool)] bool srgb_data);
174 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_create_mem ([In] byte[] data, UIntPtr data_size, [MarshalAs(UnmanagedType.Bool)] bool srgb_data, int priority);
175 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_create_file ([In] byte[] file_utf8, [MarshalAs(UnmanagedType.Bool)] bool srgb_data, int priority);
176 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_create_file_arr (string[] files, int file_count, [MarshalAs(UnmanagedType.Bool)] bool srgb_data, int priority);
177 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_create_cubemap_file ([In] byte[] equirectangular_file_utf8, [MarshalAs(UnmanagedType.Bool)] bool srgb_data, IntPtr lighting_info, int priority);

Callers 1

FromMemoryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected