diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-08-31 11:30:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-31 11:30:42 +0200 |
commit | 68e7a19a979067f3ee0f49cffe40130900851a08 (patch) | |
tree | 2a58c91938bd7ca1df92bda3781aad99dd7940b0 | |
parent | a0b95e5d9c8b9529fb6e7006beca30e1ee0dbf4a (diff) | |
parent | 528056a3c5f8aee06a3598a6f6746253b9ab1e0e (diff) |
Merge pull request #41633 from Xrayez/expose-atex-max-frames
Make `AnimatedTexture.MAX_FRAMES` public
-rw-r--r-- | scene/resources/texture.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/resources/texture.h b/scene/resources/texture.h index d439d34c95..fd213859b7 100644 --- a/scene/resources/texture.h +++ b/scene/resources/texture.h @@ -632,11 +632,12 @@ class AnimatedTexture : public Texture2D { //use readers writers lock for this, since its far more times read than written to RWLock *rw_lock; -private: +public: enum { MAX_FRAMES = 256 }; +private: RID proxy_ph; RID proxy; |