private static extern int tWriteTexture( IntPtr dst_tex, int dst_width, int dst_height, tTextureFormat dst_fmt, IntPtr src, int src_num, tDataFormat src_fmt);