0

I'm generating some textures in my game, but I need mipmaps for them. Why are there no mipmaps generating even when I'm setting mipMap to true in the constructor and how can I generate the mipmaps?

eagle999
  • 241
  • 2
  • 4
  • 10

1 Answers1

2

You have to perform the downscaling yourself, and then fill each mipmap level yourself.

You can use this version of SetData to specify which mipmap level you are setting.

Use the LevelCount property to determine how many mipmap levels were created by the constructor.

Andrew Russell
  • 26,924
  • 7
  • 58
  • 104