texture2d
This is an old revision of the document!
Texture2D
Texture2D has an undocumented constructor with an integer mipmap count, instead of just a bool for the whole mipchain, that is:
new Texture2D(int width, int height, TextureFormat format, int numMips, bool isLinear)
This way it is possible to create textures with a limited number of mipmaps, and it can be useful for large atlases to prevent leaking.
texture2d.1639253426.txt.gz · Last modified: 2025/01/15 04:35 (external edit)