texture2d
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| texture2d [2021/12/11 20:11] – guycalledfrank | texture2d [2025/01/15 04:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| 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:// | ||
texture2d.1639253495.txt.gz · Last modified: 2025/01/15 04:35 (external edit)