Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
CollisionVisualization
MultiMaterialSelectionView.h
1
#pragma once
2
3
#include "Types.h"
4
#include "Collision.h"
5
#include "CollisionVisualization.h"
6
#include "VectorMathDecl.h"
7
8
#include <vector>
9
#include <string>
10
#include <unordered_map>
11
12
namespace
Eegeo
13
{
14
namespace
CollisionVisualization
15
{
16
17
class
MultiMaterialSelectionView
:
private
Eegeo::NonCopyable
18
{
19
public
:
20
MultiMaterialSelectionView
();
21
22
~
MultiMaterialSelectionView
();
23
24
void
SetColor(
const
v4
& color);
25
26
void
SubmitRenderables(
CollisionVisualizationRenderer
& renderer);
27
28
void
RefreshRenderables(
const
std::vector<std::string>& collisionMaterialIds,
29
const
std::vector<const Collision::CollisionBvh*>& collisionBvhsForView,
30
MaterialSelectionRenderableFactory
& renderableFactory);
31
32
private
:
33
std::unordered_map<std::string, MaterialSelectionView*> m_collisionMaterialIdToViews;
34
};
35
}
36
}
Generated on Sat Jun 10 2023 02:00:29 for eeGeo Platform SDK by
1.8.3.1