mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-21 04:15: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
|
|
@ -74,7 +74,7 @@ protected:
|
|||
|
||||
const SceneRenderState *mState;
|
||||
|
||||
GFXCubemap *mCubemap;
|
||||
GFXTexHandle mCubemap;
|
||||
|
||||
/// Used to override the normal
|
||||
/// fade value of an object.
|
||||
|
|
@ -134,8 +134,8 @@ public:
|
|||
void setSceneState( const SceneRenderState *state ) { mState = state; }
|
||||
|
||||
///@see mCubemap
|
||||
GFXCubemap* getCubemap() const { return mCubemap; }
|
||||
void setCubemap( GFXCubemap *cubemap ) { mCubemap = cubemap; }
|
||||
GFXTexHandle getCubemap() const { return mCubemap; }
|
||||
void setCubemap(GFXTexHandle cubemap ) { mCubemap = cubemap; }
|
||||
|
||||
///@see mFadeOverride
|
||||
F32 getFadeOverride() const { return mFadeOverride; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue