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
PackedDiffuseReadMeshFactory.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
{
18
class
PackedDiffuseReadMeshFactory
:
protected
ReadMeshFactory
,
public
Eegeo::IO::ChunkedFileFormat::QuantizedMeshSetChunkReader::IQuantizedMeshSetChunkReaderMeshFactory
19
{
20
public
:
21
PackedDiffuseReadMeshFactory
(
22
Eegeo::Rendering::GlBufferPool
& glBufferPool,
23
const
VertexLayouts::VertexLayout
& packedStencilShadowVertexLayout,
24
const
VertexLayouts::VertexLayout
& packedDiffuseVertexLayout,
25
const
VertexLayouts::VertexLayout
& packedPositionUvLightDotsColourVertexLayout,
26
const
VertexLayouts::VertexLayout
& packedPositionNormalUvColorVertexLayout,
27
const
VertexLayouts::VertexLayout
& packedPositionNormalUVVertexLayout);
28
29
Rendering::Mesh
* CreateMesh(
const
Eegeo::IO::ChunkedFileFormat::QuantizedMeshSetChunkReader::QuantizedMeshInfo
& meshInfo,
30
const
void
* pVertexData,
31
const
void
* pIndexData,
32
const
std::string& debugName);
33
34
const
Eegeo::Rendering::VertexLayouts::VertexLayout
& GetVertexLayoutForVertexFormat(
const
u32 vertexFormat)
const
;
35
private
:
36
const
VertexLayouts::VertexLayout
& m_packedStencilShadowVertexLayout;
37
const
VertexLayouts::VertexLayout
& m_packedDiffuseVertexLayout;
38
const
VertexLayouts::VertexLayout
& m_packedPositionUvLightDotsColourVertexLayout;
39
const
VertexLayouts::VertexLayout
& m_packedPositionNormalUvColorVertexLayout;
40
const
VertexLayouts::VertexLayout
& m_packedPositionNormalUvVertexLayout;
41
};
42
}
43
}
44
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1