Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Rendering
PositionMeshFactory.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
#include "Rendering.h"
7
#include "VectorMath.h"
8
9
#include <vector>
10
#include <string>
11
12
namespace
Eegeo
13
{
14
namespace
Rendering
15
{
16
namespace
MeshFactories
17
{
21
class
PositionMeshFactory
:
public
Eegeo::NonCopyable
22
{
23
public
:
24
PositionMeshFactory
(
Eegeo::Rendering::GlBufferPool
& glBufferPool,
25
const
VertexLayouts::VertexLayout
& positionVertexLayout);
26
27
Rendering::Mesh
* CreateMesh(
const
std::vector<Eegeo::v3>& points,
28
const
std::vector<u16>& triListIndices,
29
const
std::string& debugName);
30
31
private
:
32
Eegeo::Rendering::GlBufferPool
& m_glBufferPool;
33
const
VertexLayouts::VertexLayout
& m_positionVertexLayout;
34
};
35
}
36
}
37
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1