private static void ConvertCTexMipmap( NativeEnvironment e, ITexMipmap src, CTexMipmap *dst) { dst->bytes = e.Pin(src.Bytes); dst->bytes_count = src.Bytes.Length; dst->width = src.Width; dst->height = src.Height; dst->decompressed_bytes_count = src.DecompressedBytesCount; dst->is_lz4_compressed = src.IsLZ4Compressed; dst->format = src.Format; }
public WCTexMipmap(CTexMipmap *self, NativeEnvironment environment) { Self = self; _environment = environment; }