summaryrefslogtreecommitdiff
path: root/indra/newview/llvlcomposition.h
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2023-10-13 09:58:50 -0700
committerCosmic Linden <cosmic@lindenlab.com>2023-10-13 09:58:50 -0700
commitde9184479cfc179ba6e9d6ff388aff7da7f0b4ab (patch)
treec369bcdf69d2affddc39c3fa0720ff0e559bfe8d /indra/newview/llvlcomposition.h
parent3b3ba3623ac816633b1bd67f5d3b4dea65a83b17 (diff)
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
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);