mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
is named target
clear out texHandles on teardown of imageAssets.
This commit is contained in:
parent
18b1b6d1d0
commit
f86497434e
3 changed files with 11 additions and 3 deletions
|
|
@ -62,6 +62,7 @@ class ImageAsset : public AssetBase
|
|||
typedef AssetPtr<ImageAsset> ConcreteAssetPtr;
|
||||
|
||||
public:
|
||||
typedef HashMap<GFXTextureProfile*, GFXTexHandle> ImageTextureMap;
|
||||
/// The different types of image use cases
|
||||
enum ImageTypes
|
||||
{
|
||||
|
|
@ -137,7 +138,7 @@ private:
|
|||
bool mIsHDRImage;
|
||||
GFXTexHandle mTextureHandle;
|
||||
ImageTypes mImageType;
|
||||
HashMap<GFXTextureProfile*, GFXTexHandle> mResourceMap;
|
||||
ImageTextureMap mResourceMap;
|
||||
bool mIsNamedTarget;
|
||||
S32 mImageWidth;
|
||||
S32 mImageHeight;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue