diff options
author | cosmic-linden <111533034+cosmic-linden@users.noreply.github.com> | 2024-10-04 13:42:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-04 13:42:54 -0700 |
commit | ea71037ccc0bd4b9e86f3f132109859258c54619 (patch) | |
tree | 5269db60f2d7054e0d570c99480ac5fea110a479 /indra/llrender/llgltexture.h | |
parent | fe8f71f1a6feb1d6120f5bc4c676790ea74473fa (diff) | |
parent | de95bd3187b61ca1152c14bc9bd112da61027d4c (diff) |
Merge pull request #2771 from secondlife/v-2472
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 |