diff options
author | Dave Parks <davep@lindenlab.com> | 2022-06-28 15:15:57 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-06-28 15:15:57 -0500 |
commit | 57805cac68bbc67ecb8a8e76c0ced2ce9b622dd1 (patch) | |
tree | cdc7d029f5375d6c33d6ffc73db6400cebe1baa5 /indra/llprimitive/llgltfmaterial.h | |
parent | cc535ecccc3c415655a52cc597b33102e5ea21db (diff) |
SL-17379 More complete integration of material asset type
Diffstat (limited to 'indra/llprimitive/llgltfmaterial.h')
-rw-r--r-- | indra/llprimitive/llgltfmaterial.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llprimitive/llgltfmaterial.h b/indra/llprimitive/llgltfmaterial.h index 2df4883a3c..d6f59cd1a3 100644 --- a/indra/llprimitive/llgltfmaterial.h +++ b/indra/llprimitive/llgltfmaterial.h @@ -83,6 +83,16 @@ public: mAlphaMode = ALPHA_MODE_OPAQUE; } } + + const char* getAlphaMode() + { + switch (mAlphaMode) + { + case ALPHA_MODE_MASK: return "MASK"; + case ALPHA_MODE_BLEND: return "BLEND"; + default: return "OPAQUE"; + } + } }; |