Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Resources
Interiors
InteriorsBackgroundRenderable.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Interiors.h"
6
7
#include "MeshRenderable.h"
8
#include "VectorMath.h"
9
10
namespace
Eegeo
11
{
12
namespace
Resources
13
{
14
namespace
Interiors
15
{
16
class
InteriorsBackgroundRenderable
:
public
Rendering::Renderables::MeshRenderable
17
{
18
public
:
19
InteriorsBackgroundRenderable
(
20
Rendering::Materials::IMaterial
* pMaterial,
21
Rendering::Mesh
* pFullScreenQuadMesh,
22
const
Rendering::VertexLayouts::VertexBinding
& vertexBinding
23
)
24
:
MeshRenderable
(Eegeo::Rendering::LayerIds::AfterWorldTranslucency, dv3::Zero(), pMaterial, pFullScreenQuadMesh, vertexBinding)
25
, m_depthClearEnabled(
false
)
26
, m_color(v4::One())
27
{}
28
29
void
SetColor(
const
Eegeo::v4
& color) { m_color = color; }
30
void
SetDepthClearEnabled(
bool
enable) { m_depthClearEnabled = enable; }
31
32
Eegeo::v4
GetColor()
const
{
return
m_color; }
33
bool
IsDepthClearEnabled()
const
{
return
m_depthClearEnabled; }
34
35
private
:
36
bool
m_depthClearEnabled;
37
Eegeo::v4
m_color;
38
};
39
}
40
}
41
}
Generated on Sat Jun 10 2023 02:00:33 for eeGeo Platform SDK by
1.8.3.1