summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llmaterial.h
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2012-12-03 15:20:11 +0100
committerKitty Barnett <develop@catznip.com>2012-12-03 15:20:11 +0100
commit25bffc3d43ec7696c0a9fab43514affbfe006fb9 (patch)
treefebaccaaaf6bf2ef1f0b90b300e024d3891966bb /indra/llprimitive/llmaterial.h
parent1e26dbdcd27a1f29fe249cc7e074e5ede284bac8 (diff)
Added LLMaterialMgr::get() to retrieve individual materials (with optional callback)
Diffstat (limited to 'indra/llprimitive/llmaterial.h')
-rw-r--r--indra/llprimitive/llmaterial.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llprimitive/llmaterial.h b/indra/llprimitive/llmaterial.h
index 42e3dd04b9..da364e548c 100644
--- a/indra/llprimitive/llmaterial.h
+++ b/indra/llprimitive/llmaterial.h
@@ -27,6 +27,8 @@
#ifndef LL_LLMATERIAL_H
#define LL_LLMATERIAL_H
+#include <boost/shared_ptr.hpp>
+
#include "llmaterialid.h"
#include "llsd.h"
#include "v4coloru.h"
@@ -94,4 +96,6 @@ protected:
U8 mAlphaMaskCutoff;
};
+typedef boost::shared_ptr<LLMaterial> LLMaterialPtr;
+
#endif // LL_LLMATERIAL_H