mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Includes required support functions for ImageAsset
This commit is contained in:
parent
4f319d3d2c
commit
4978538490
3 changed files with 66 additions and 16 deletions
|
|
@ -65,6 +65,7 @@ public:
|
|||
Particle = 8,
|
||||
Decal = 9,
|
||||
Cubemap = 10,
|
||||
ImageTypeCount = 11
|
||||
};
|
||||
|
||||
protected:
|
||||
|
|
@ -100,6 +101,11 @@ public:
|
|||
|
||||
const char* getImageInfo();
|
||||
|
||||
static const char* getImageTypeNameFromType(ImageTypes type);
|
||||
static ImageTypes getImageTypeFromName(const char* name);
|
||||
|
||||
void setImageType(ImageTypes type) { mImageType = type; }
|
||||
|
||||
protected:
|
||||
virtual void initializeAsset(void);
|
||||
virtual void onAssetRefresh(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue