| 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); |
| 199 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern void tex_get_data_mip (IntPtr texture, IntPtr out_data, UIntPtr out_data_size, int mip_level); |
| 200 | [DllImport(dll, CharSet = cSet, CallingConvention = call)] public static extern IntPtr tex_gen_color (Color color, int width, int height, TexType type, TexFormat format); |