This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
texture2d [2021/12/11 20:10] guycalledfrank created |
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. | ||
+ | |||
+ | According to [[https:// |