Guest User

wrongway

a guest
Oct 7th, 2015
160
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         SetTextureMipmap(texture, 0, bitmap);
  2.                 bitmap = bitmap.Resize(1024, 1024, WriteableBitmapExtensions.Interpolation.Bilinear);
  3.                 SetTextureMipmap(texture, 1, bitmap);
  4.                 bitmap = bitmap.Resize(512, 512, WriteableBitmapExtensions.Interpolation.Bilinear);
  5.                 SetTextureMipmap(texture, 2, bitmap);
  6.                 bitmap = bitmap.Resize(256, 256, WriteableBitmapExtensions.Interpolation.Bilinear);
  7.                 SetTextureMipmap(texture, 3, bitmap);
  8.                 bitmap = bitmap.Resize(128, 128, WriteableBitmapExtensions.Interpolation.Bilinear);
  9.                 SetTextureMipmap(texture, 4, bitmap);
  10.                 bitmap = bitmap.Resize(64, 64, WriteableBitmapExtensions.Interpolation.Bilinear);
  11.                 SetTextureMipmap(texture, 5, bitmap);
  12.                 bitmap = bitmap.Resize(32, 32, WriteableBitmapExtensions.Interpolation.Bilinear);
  13.                 SetTextureMipmap(texture, 6, bitmap);
  14.                 bitmap = bitmap.Resize(16, 16, WriteableBitmapExtensions.Interpolation.Bilinear);
  15.                 SetTextureMipmap(texture, 7, bitmap);
  16.                 bitmap = bitmap.Resize(8, 8, WriteableBitmapExtensions.Interpolation.Bilinear);
  17.                 SetTextureMipmap(texture, 8, bitmap);
  18.                 bitmap = bitmap.Resize(4, 4, WriteableBitmapExtensions.Interpolation.Bilinear);
  19.                 SetTextureMipmap(texture, 9, bitmap);
  20.                 bitmap = bitmap.Resize(2, 2, WriteableBitmapExtensions.Interpolation.Bilinear);
  21.                 SetTextureMipmap(texture, 10, bitmap);
  22.                 bitmap = bitmap.Resize(1, 1, WriteableBitmapExtensions.Interpolation.Bilinear);
  23.                 SetTextureMipmap(texture, 11, bitmap);
RAW Paste Data