summaryrefslogtreecommitdiff
path: root/indra/newview/llvlcomposition.h
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2023-10-13 10:35:02 -0700
committerCosmic Linden <cosmic@lindenlab.com>2023-10-13 10:36:51 -0700
commit57433341abffba9382e6899b164af40200f5d6d3 (patch)
tree74dcdf8e56e8335c0ca75cd3508aaa72fe8fd3c5 /indra/newview/llvlcomposition.h
parenta65c9dad5521d8e8d375003220e362533a142250 (diff)
Revert "Revert "DRTVWR-592: (WIP) Fix tiling only in the PBR case. Begin hooking up code for PBR-specific terrain geometry updates. Unfortunately, this version has a bug which can cause rebuilds to be skipped. Needs more work/testing""
This reverts commit 2318d657660320b921e1566b54d3833c0401a34c.
Diffstat (limited to 'indra/newview/llvlcomposition.h')
-rw-r--r--indra/newview/llvlcomposition.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llvlcomposition.h b/indra/newview/llvlcomposition.h
index 9dc0b7221e..882c3d89b2 100644
--- a/indra/newview/llvlcomposition.h
+++ b/indra/newview/llvlcomposition.h
@@ -49,11 +49,18 @@ public:
// So we need to compress heights into this range.
static const S32 ASSET_COUNT = 4;
+ enum class Type
+ {
+ TEXTURE,
+ PBR,
+ COUNT
+ };
+
BOOL generateMaterials();
LLUUID getDetailAssetID(S32 asset);
virtual void setDetailAssetID(S32 asset, const LLUUID& id);
- BOOL useTextures();
+ Type getMaterialType();
BOOL texturesReady(BOOL boost = FALSE);
BOOL materialsReady(BOOL boost = FALSE);