mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
Update GFXTextureManager and GBitmap
GBitmap Changes: Added all other formats to gbitmap that we support gbitmap now supports cubemaps added converters for all these other formats added stb_image_resize for extrudemips so we can extrude mipmaps for all other formats GFXTextureManager Can now directly make cubemaps and texture arrays based on the GFXTextureProfile API implementations for all functions that cubemaps and arrays needed
This commit is contained in:
parent
975fc924cc
commit
3aef90a6bc
66 changed files with 4235 additions and 2590 deletions
|
|
@ -120,14 +120,16 @@ public:
|
|||
U32 depth,
|
||||
GFXFormat format,
|
||||
GFXTextureProfile *profile,
|
||||
U32 numMipLevels = 1);
|
||||
U32 numMipLevels = 1,
|
||||
U32 arraySize = 1);
|
||||
|
||||
virtual GFXTextureObject *createTexture( U32 width,
|
||||
U32 height,
|
||||
GFXFormat format,
|
||||
GFXTextureProfile *profile,
|
||||
U32 numMipLevels,
|
||||
S32 antialiasLevel);
|
||||
S32 antialiasLevel,
|
||||
U32 arraySize = 1);
|
||||
|
||||
Torque::Path validatePath(const Torque::Path &path);
|
||||
GBitmap *loadUncompressedTexture(const Torque::Path& path, GFXTextureProfile* profile, U32 width, U32 height, bool genMips = false);
|
||||
|
|
@ -319,7 +321,8 @@ protected:
|
|||
GFXTextureProfile *profile,
|
||||
U32 numMipLevels,
|
||||
bool forceMips = false,
|
||||
S32 antialiasLevel = 0,
|
||||
S32 antialiasLevel = 0,
|
||||
U32 arraySize = 1,
|
||||
GFXTextureObject *inTex = NULL ) = 0;
|
||||
|
||||
/// Load a texture from a proper DDSFile instance.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue