mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-24 22:59:24 +00:00
Add texture size fields to terrain textures and improve editor performance
This commit is contained in:
parent
9caa08b7f0
commit
d3996aec84
7 changed files with 414 additions and 44 deletions
|
|
@ -44,9 +44,11 @@ class GFXTextureObject;
|
|||
class GFXTextureArray : public StrongRefBase, public GFXResource
|
||||
{
|
||||
public:
|
||||
GFXTextureArray();
|
||||
|
||||
virtual void init() = 0;
|
||||
virtual void set(U32 width, U32 height, U32 size, GFXFormat format, U32 mipLevels);
|
||||
virtual bool fromTextureArray(const Vector<GFXTexHandle> &textureArray);
|
||||
virtual void set(U32 width, U32 height, U32 size, GFXFormat format, U32 mipLevels = 0);
|
||||
virtual bool fromTextureArray(const Vector<GFXTexHandle> &textureArray, U32 capacity = 0);
|
||||
virtual void setTexture(const GFXTexHandle &texture, U32 slot);
|
||||
virtual void setToTexUnit(U32 tuNum) = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue