Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Rendering
SceneModels
Resources
SceneModelMaterialResource.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "SceneModelResourceBase.h"
6
#include "Types.h"
7
#include "SceneModelMaterial.h"
8
#include <string>
9
10
namespace
Eegeo
11
{
12
namespace
Rendering
13
{
14
namespace
SceneModels
15
{
16
class
SceneModelMaterialResource
:
public
SceneModelResourceBase
,
private
Eegeo::NonCopyable
17
{
18
public
:
19
20
SceneModelMaterialResource
(
const
std::string& name,
Materials::SceneModelMaterial
* pMaterial)
21
:
SceneModelResourceBase
(name)
22
, m_pMaterial(pMaterial)
23
{
24
25
}
26
27
~
SceneModelMaterialResource
()
28
{
29
Eegeo_DELETE m_pMaterial;
30
m_pMaterial = NULL;
31
}
32
33
Materials::SceneModelMaterial
* GetMaterial()
const
{
return
m_pMaterial; }
34
35
private
:
36
37
Materials::SceneModelMaterial
* m_pMaterial;
38
};
39
}
40
}
41
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1