VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)