Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Data
PolyChart
PolyChartViewFactory.h
1
// Copyright (c) 2015 eeGeo. All rights reserved.
2
3
#pragma once
4
5
#include "RenderingModule.h"
6
#include "VertexColoredShader.h"
7
#include "VertexColoredMaterial.h"
8
#include "Rendering.h"
9
#include "PolyChart.h"
10
11
namespace
Eegeo
12
{
13
namespace
Data
14
{
15
namespace
PolyChart
16
{
17
class
PolyChartViewFactory
:
private
Eegeo::NonCopyable
18
{
19
public
:
20
static
PolyChartViewFactory
* Create(
Eegeo::Modules::Core::RenderingModule
& renderingModule);
21
22
PolyChartViewFactory
(
23
Rendering::Shaders::VertexColoredShader
* pShader,
24
Rendering::Materials::VertexColoredMaterial
* pMaterial,
25
const
Rendering::VertexLayouts::VertexLayout
& vertexLayout,
26
Rendering::GlBufferPool
& glBufferPool,
27
Rendering::VertexLayouts::VertexBindingPool
& vertexBindingPool);
28
29
~
PolyChartViewFactory
();
30
31
PolyChartView
* CreateView(
PolyChartModel
& model);
32
void
FreeView(
PolyChartView
* pView);
33
34
private
:
35
Rendering::Materials::VertexColoredMaterial
* m_pMaterial;
36
Rendering::Shaders::VertexColoredShader
* m_pShader;
37
const
Rendering::VertexLayouts::VertexLayout
& m_vertexLayout;
38
Rendering::GlBufferPool
& m_glBufferPool;
39
Rendering::VertexLayouts::VertexBindingPool
& m_vertexBindingPool;
40
41
Rendering::Mesh
* CreateMesh(
PolyChartModel
& model);
42
};
43
}
44
}
45
}
Generated on Sat Jun 10 2023 02:00:29 for eeGeo Platform SDK by
1.8.3.1