added Cubemap support,but only test non-mipmaps texture.

This commit is contained in:
2022-01-07 16:55:39 +08:00
parent f35d8ab9af
commit 1d499ffd5b
13 changed files with 436 additions and 119 deletions

View File

@@ -104,6 +104,7 @@ public: //Material
public: //texture
Texture2D * LoadTexture2D(const OSString &,bool auto_mipmaps=false);
TextureCube * LoadTextureCube(const OSString &,bool auto_mipmaps=false);
public: //Get