Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Debug
DebugRendering
DebugLineRenderable.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "DebugRenderableBase.h"
6
#include "Rendering.h"
7
#include "AllVertexTypes.h"
8
9
namespace
Eegeo
10
{
11
namespace
DebugRendering
12
{
13
class
DebugLineRenderable
:
public
DebugRenderableBase
14
{
15
public
:
16
DebugLineRenderable
(
int
vertexBufferSize,
17
Rendering::Materials::IMaterial
* material,
18
float
lineWidth,
19
const
Rendering::VertexLayouts::VertexBinding
& vertexBinding);
20
21
~
DebugLineRenderable
();
22
23
void
Render(
Rendering::GLState
& glState)
const
;
24
25
void
AddVertexElement(
const
Rendering::VertexTypes::ColoredVertex
& vertexToAdd);
26
bool
ContainsMeshData()
const
;
27
28
void
SetLineWidth(
float
lineWidth);
29
30
private
:
31
void
BindBuffers(
Rendering::GLState
& glState)
const
;
32
33
Rendering::DynamicBuffer<Rendering::VertexTypes::ColoredVertex>
* m_pVertexBuffer;
34
35
const
Rendering::VertexLayouts::VertexBinding
& m_vertexBinding;
36
float
m_lineWidth;
37
};
38
}
39
}
Generated on Sat Jun 10 2023 02:00:30 for eeGeo Platform SDK by
1.8.3.1