summaryrefslogtreecommitdiff
path: root/indra/newview/llfetchedgltfmaterial.h
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-01-08 23:49:38 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-01-08 23:49:38 +0200
commit7d4de08fa9c43f6e21267cb861cbac8a9280e5ec (patch)
tree6187d0f264efa1122a76245db6a1def6f1ca13c4 /indra/newview/llfetchedgltfmaterial.h
parenta1c36a3218a7fe6eb7b646e64c6bf9bc29b24886 (diff)
parent77395eddc911e0801e50fd693f7bbaee8046aa95 (diff)
Merge branch 'main' into DRTVWR-489
# Conflicts: # indra/newview/llmaterialeditor.cpp
Diffstat (limited to 'indra/newview/llfetchedgltfmaterial.h')
-rw-r--r--indra/newview/llfetchedgltfmaterial.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llfetchedgltfmaterial.h b/indra/newview/llfetchedgltfmaterial.h
index 2559aa46cc..a9e539633d 100644
--- a/indra/newview/llfetchedgltfmaterial.h
+++ b/indra/newview/llfetchedgltfmaterial.h
@@ -50,6 +50,8 @@ public:
bool isFetching() const { return mFetching; }
+ LLPointer<LLViewerFetchedTexture> getUITexture();
+
void addTextureEntry(LLTextureEntry* te) override;
void removeTextureEntry(LLTextureEntry* te) override;
virtual bool replaceLocalTexture(const LLUUID& tracking_id, const LLUUID& old_id, const LLUUID& new_id) override;
@@ -63,6 +65,9 @@ public:
std::set<LLTextureEntry*> mTextureEntires;
+ // Texture used for previewing the material in the UI
+ LLPointer<LLViewerFetchedTexture> mPreviewTexture;
+
protected:
// Lifetime management