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
SceneModelMeshResource.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 "Mesh.h"
8
#include <string>
9
10
namespace
Eegeo
11
{
12
namespace
Rendering
13
{
14
namespace
SceneModels
15
{
16
class
SceneModelMeshResource
:
public
SceneModelResourceBase
,
private
Eegeo::NonCopyable
17
{
18
public
:
19
20
SceneModelMeshResource
(
const
std::string& name,
Mesh
* pMesh)
21
:
SceneModelResourceBase
(name)
22
, m_pMesh(pMesh)
23
{
24
25
}
26
27
~
SceneModelMeshResource
()
28
{
29
Eegeo_DELETE m_pMesh;
30
m_pMesh = NULL;
31
}
32
33
Mesh
* GetMesh()
const
{
return
m_pMesh; }
34
35
private
:
36
37
Mesh
* m_pMesh;
38
};
39
}
40
}
41
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1