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

Method tex_set_mem

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

Source from the content-addressed store, hash-verified

193 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void tex_set_colors (IntPtr texture, int width, int height, [In] ushort[] data);
194 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void tex_set_colors (IntPtr texture, int width, int height, [In] float[] data);
195 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void tex_set_mem (IntPtr texture, [In] byte[] data, UIntPtr data_size, [MarshalAs(UnmanagedType.Bool)] bool srgb_data, [MarshalAs(UnmanagedType.Bool)] bool blocking, int priority);
196 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void tex_set_surface (IntPtr texture, IntPtr native_surface, TexType type, long native_fmt, int width, int height, int surface_count, [MarshalAs(UnmanagedType.Bool)] bool owned);
197 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_get_surface (IntPtr texture);
198 [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_add_zbuffer (IntPtr texture, TexFormat format = TexFormat.DepthStencil);

Callers 1

SetMemoryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected