mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Make possible and do update textures in node definitions after late texture atlas making
This commit is contained in:
parent
c6fd2986d4
commit
1afed48a2c
4 changed files with 26 additions and 1 deletions
|
@ -138,6 +138,7 @@ public:
|
|||
{return AtlasPointer(0);}
|
||||
virtual video::ITexture* getTextureRaw(const std::string &name)
|
||||
{return NULL;}
|
||||
virtual void updateAP(AtlasPointer &ap){};
|
||||
};
|
||||
|
||||
class IWritableTextureSource : public ITextureSource
|
||||
|
@ -153,8 +154,8 @@ public:
|
|||
{return AtlasPointer(0);}
|
||||
virtual video::ITexture* getTextureRaw(const std::string &name)
|
||||
{return NULL;}
|
||||
virtual void updateAP(AtlasPointer &ap){};
|
||||
|
||||
virtual void updateAP(AtlasPointer &ap)=0;
|
||||
virtual void buildMainAtlas(class IGameDef *gamedef)=0;
|
||||
virtual void processQueue()=0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue