diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2024-10-02 15:25:11 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2024-10-02 17:11:19 -0700 |
commit | dc7b2adbebea2bd332de52d90dbbe651ee94031c (patch) | |
tree | 2c5ffa9e5a74d959a6b77e38d639ae0d791c8d9a /indra/llrender/llgltexture.h | |
parent | 9e8cf72a355d5353564c0199990a6b5073f37fca (diff) |
secondlife/viewer#2472: Debug tools for labeling textures
Diffstat (limited to 'indra/llrender/llgltexture.h')
-rw-r--r-- | indra/llrender/llgltexture.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llrender/llgltexture.h b/indra/llrender/llgltexture.h index 122d2a7f9c..22f2ed5131 100644 --- a/indra/llrender/llgltexture.h +++ b/indra/llrender/llgltexture.h @@ -118,6 +118,9 @@ public: LLGLuint getTexName() const ; bool createGLTexture() ; + void getGLObjectLabel(std::string& label, bool& error) const; + std::string setGLObjectLabel(const std::string& prefix, bool append_texname = false) const; + // Create a GL Texture from an image raw // discard_level - mip level, 0 for highest resultion mip // imageraw - the image to copy from |