What is mip in SetPixel ?

Hi, I am a beginner to unity3d. While searching for documentation on Setpixels, I came accrosed mip level. Could anyone please what is mip and whats mip level ??

Mip is a simulated Level of Detail of a texture. If you look at a texture in the Inspector you can see in it's preview level a little checkered box and a slider. You can see the various Mip levels (if they are being generated).

This is a performance optimization because at a medium distance from an object it isn't necessary to draw a 1024x1024 texture because the user won't be able to see the fine detail anyway so it mips to 512 or 256, etc. This works best with Power-of-Two textures like 1024x1024.

Note that mips also add an additional 33% to the memory taken up by any given texture because of the extra LOD's that are generated.

Hope that helps.

==

Mipmaps are precalculated smaller versions of the original image (See http://en.wikipedia.org/wiki/Mipmap for more information)

They generally help make graphical processing a little faster, and can help with making textures look better at far distance or large angles from the view distance, though can degrade the quality at close up if you're not careful

Textures contain all the different levels of mipmaps, with 0 being the original texture, 1 being the next power of two texture below it, and so on