Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Rendering
MeshFactories
LcmReadMeshFactory.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "ReadMeshFactory.h"
6
#include "QuantizedMeshSetChunkReader.h"
7
#include "Rendering.h"
8
9
namespace
Eegeo
10
{
11
namespace
Rendering
12
{
13
namespace
MeshFactories
14
{
15
class
LcmReadMeshFactory
:
protected
ReadMeshFactory
,
public
Eegeo::IO::ChunkedFileFormat::QuantizedMeshSetChunkReader::IQuantizedMeshSetChunkReaderMeshFactory
16
{
17
public
:
18
LcmReadMeshFactory
(
Eegeo::Rendering::GlBufferPool
& glBufferPool,
19
const
VertexLayouts::VertexLayout
& packedTwoTextureVertexLayout);
20
21
Rendering::Mesh
* CreateMesh(
const
Eegeo::IO::ChunkedFileFormat::QuantizedMeshSetChunkReader::QuantizedMeshInfo
& meshInfo,
22
const
void
* pVertexData,
23
const
void
* pIndexData,
24
const
std::string& debugName);
25
26
const
Eegeo::Rendering::VertexLayouts::VertexLayout
& GetVertexLayoutForVertexFormat(
const
u32 vertexFormat)
const
;
27
28
private
:
29
const
VertexLayouts::VertexLayout
& m_packedTwoTextureVertexLayout;
30
};
31
}
32
}
33
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1