Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Rendering
Materials
CustomLandmarkDiffuseFoggedMaterial.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "PackedFoggedMaterial.h"
6
#include "IdTypes.h"
7
#include "Lighting.h"
8
#include "Rendering.h"
9
#include <string>
10
11
namespace
Eegeo
12
{
13
namespace
Rendering
14
{
15
namespace
Materials
16
{
17
class
CustomLandmarkDiffuseFoggedMaterial
:
public
PackedFoggedMaterial
18
{
19
public
:
20
CustomLandmarkDiffuseFoggedMaterial
(
21
const
TMaterialId materialId,
22
const
std::string& name,
23
Shaders::PackedDiffuseFoggedShader
& shader,
24
const
Lighting::GlobalLighting
& lighting,
25
const
Lighting::GlobalFogging
& fogging,
26
Rendering::TextureMinifyType textureMinifyType,
27
bool
useAlternativeAmbient,
28
bool
textureRepeat
29
);
30
31
void
SetState(
Rendering::GLState
& glState)
const
;
32
33
void
SetStatePerRenderable(
const
Rendering::RenderableBase
* renderableBase,
Rendering::GLState
& glState)
const
;
34
35
void
SetLandmarkPostfix(
const
std::string& postfix);
36
37
void
SetDiffuseTexture(
Rendering::AsyncTexturing::IAsyncTexture
& textureId);
38
Rendering::AsyncTexturing::IAsyncTexture
& GetTextureId()
const
;
39
private
:
40
std::string m_currentThemeStateLandmarkPostfix;
41
};
42
}
43
}
44
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1