VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvGraphics
DtFlat2DLineRenderer.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: $ $Revision: $ $State: $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvGraphics/DtEffectRenderer.h
>
16
17
namespace
makVrv
18
{
19
class
DtProjected2DLineEffect;
20
23
struct
DtLineVertex
24
{
25
DtLineVertex
()
26
{
27
memset(
position
,0,
sizeof
(
float
[4]));
28
memset(
offset
,0,
sizeof
(
float
[3]));
29
memset(
color
,0,
sizeof
(
float
[4]));
30
memset(
lineParams
,0,
sizeof
(
float
[2]));
31
memset(
directionAndLength
,0,
sizeof
(
float
[4]));
32
}
33
34
float
position
[4];
35
float
offset
[3];
36
float
color
[4];
37
float
lineParams
[2];
38
float
directionAndLength
[4];
39
};
40
41
44
class
DT_DLL_VRVGRAPHICS
DtFlat2DLineRenderer
:
45
public
DtEffectRenderer
<DtLineVertex>
46
{
47
public
:
48
51
DtFlat2DLineRenderer
(
DtProjected2DLineEffect
* effect);
52
53
protected
:
54
56
virtual
void
bindVertexArrays(
const
DtLineVertex
* vertexArray);
57
59
virtual
void
unbindVertexArrays();
60
61
protected
:
62
DtProjected2DLineEffect
*
myEffect
;
63
};
64
}
65
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)