This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
texture2d [2021/12/11 20:11] guycalledfrank |
texture2d [2022/01/28 17:22] (current) 73.217.35.3 |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Texture2D ====== | ====== Texture2D ====== | ||
+ | |||
+ | ===== Undocumented Constructor ===== | ||
Texture2D has an undocumented constructor with an integer mipmap count, instead of just a bool for the whole mipchain, that is: | Texture2D has an undocumented constructor with an integer mipmap count, instead of just a bool for the whole mipchain, that is: | ||
Line 6: | Line 8: | ||
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. | 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. | ||
- | It is unclear in which version this constructor first appeared, but it doesn' | + | |
+ | According to [[https:// |