HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
16
class
SHOP_ReData
17
{
18
public
:
19
SHOP_ReData
(
const
SHOP_ReData
&
src
)
20
: myMaterial(src.myMaterial)
21
{
22
}
23
SHOP_ReData
()
24
: myMaterial()
25
{ }
26
~SHOP_ReData
()
27
{
28
}
29
30
const
SHOP_ReData
&
operator=
(
const
SHOP_ReData
&
src
)
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
RE_Material.h
SHOP_ReData::setMaterial
void setMaterial(const RE_MaterialPtr &mat)
Definition:
SHOP_ReData.h:41
SHOP_ReData::SHOP_ReData
SHOP_ReData()
Definition:
SHOP_ReData.h:23
SHOP_ReData
Definition:
SHOP_ReData.h:16
UT_IntrusivePtr< RE_Material >
SHOP_ReData::getMaterial
const RE_MaterialPtr & getMaterial() const
Definition:
SHOP_ReData.h:36
SHOP_ReData::clear
void clear()
Definition:
SHOP_ReData.h:39
SHOP_ReData::SHOP_ReData
SHOP_ReData(const SHOP_ReData &src)
Definition:
SHOP_ReData.h:19
SHOP_ReData::operator=
const SHOP_ReData & operator=(const SHOP_ReData &src)
Definition:
SHOP_ReData.h:30
SHOP_ReData::~SHOP_ReData
~SHOP_ReData()
Definition:
SHOP_ReData.h:26
src
GLenum src
Definition:
glcorearb.h:1793
SHOP
SHOP_ReData.h
Generated on Thu Nov 21 2024 02:45:38 for HDK by
1.8.6