VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
16 
17 namespace makVrv
18 {
19  class DtProjected2DLineEffect;
20 
23  struct DtLineVertex
24  {
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];
39  };
40 
41 
45  public DtEffectRenderer<DtLineVertex>
46  {
47  public:
48 
52 
53  protected:
54 
56  virtual void bindVertexArrays(const DtLineVertex* vertexArray);
57 
59  virtual void unbindVertexArrays();
60 
61  protected:
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)