Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Collision
CollisionMeshBuiltResource.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Collision.h"
6
#include "BuiltResourceWithKey.h"
7
#include "ICollisionMeshResource.h"
8
9
namespace
Eegeo
10
{
11
namespace
Collision
12
{
13
class
CollisionMeshBuiltResource
:
public
Resources::BuiltResourceWithKey
,
public
Eegeo::Collision::ICollisionMeshResource
,
public
Eegeo::NonCopyable
14
{
15
public
:
16
17
CollisionMeshBuiltResource
(
Eegeo::Collision::CollisionMeshResourceRepository
& collisionMeshResourceRepository,
18
const
Streaming::MortonKey
& key,
19
const
Eegeo::Collision::CollisionBvh
* pCollisionBvh);
20
virtual
~
CollisionMeshBuiltResource
();
21
22
// IBuiltResource
23
virtual
void
Unload();
24
virtual
void
RemovedFromSceneGraph();
25
virtual
void
AddedToSceneGraph();
26
27
// ICollisionMeshResource
28
virtual
const
Eegeo::Collision::CollisionBvh
& GetCollisionBvh()
const
;
29
30
private
:
31
Eegeo::Collision::CollisionMeshResourceRepository
& m_collisionMeshResourceRepository;
32
const
Eegeo::Collision::CollisionBvh
* m_pCollisionBvh;
33
};
34
}
35
}
36
Generated on Sat Jun 10 2023 02:00:29 for eeGeo Platform SDK by
1.8.3.1