HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SHOP_ReData.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: SHOP_ReData.h ( SHOP Library, C++)
7  *
8  * COMMENTS: Interface for getting RE information out of a SHOP
9  */
10 
11 #ifndef __SHOP_ReData__
12 #define __SHOP_ReData__
13 
14 #include <RE/RE_Material.h>
15 
17 {
18 public:
20  : myMaterial(src.myMaterial)
21  {
22  }
24  : myMaterial()
25  { }
27  {
28  }
29 
31  {
32  myMaterial = src.myMaterial;
33  return *this;
34  }
35 
36  const RE_MaterialPtr &getMaterial() const
37  { return myMaterial; }
38 
39  void clear()
40  { setMaterial(NULL); }
41  void setMaterial(const RE_MaterialPtr &mat)
42  { myMaterial = mat; }
43 
44 private:
45  RE_MaterialPtr myMaterial;
46 };
47 
48 #endif
49 
void setMaterial(const RE_MaterialPtr &mat)
Definition: SHOP_ReData.h:41
const RE_MaterialPtr & getMaterial() const
Definition: SHOP_ReData.h:36
void clear()
Definition: SHOP_ReData.h:39
SHOP_ReData(const SHOP_ReData &src)
Definition: SHOP_ReData.h:19
const SHOP_ReData & operator=(const SHOP_ReData &src)
Definition: SHOP_ReData.h:30
GLenum src
Definition: glcorearb.h:1793