VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtFlat2DRenderer.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2011 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 namespace makVrv
15 {
16 
20  {
22  {
23  memset( position, 0, sizeof(float[4]) );
24  memset( offset, 0, sizeof(float[3]) );
25  memset( color, 0, sizeof(float[4]) );
26  trigRotation[0] = 1.0f;
27  trigRotation[1] = 0.0f;
28  }
29 
30  float trigRotation[2];
31  float position[4];
32  float offset[3];
33  float color[4];
34  };
35 
37 
41  public DtEffectRenderer<DtOffsetColoredVertex>
42  {
43  public:
44 
47 
48  protected:
49 
51  virtual void bindVertexArrays( const DtOffsetColoredVertex* vertexArray );
52 
54  virtual void unbindVertexArrays();
55 
56  protected:
57 
59 
60  };
61 
62 }
float color[4]
Definition: DtFlat2DRenderer.h:33
Contains makVrv::DtEffectRenderer class.
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
Class will render TexturedQuadData using a Dt2DQuadEffect.
Definition: DtFlat2DRenderer.h:40
float trigRotation[2]
Definition: DtFlat2DRenderer.h:30
float position[4]
Definition: DtFlat2DRenderer.h:31
Basic vertex for rendering geometry with a position, offset, color, and rotation. ...
Definition: DtFlat2DRenderer.h:19
DtProjected2DFlatEffect * myEffect
Definition: DtFlat2DRenderer.h:58
DtOffsetColoredVertex()
Definition: DtFlat2DRenderer.h:21
An effect for rendering 2D flat colored quads.
Definition: DtProjected2DFlatEffect.h:19
voidpf uLong offset
Definition: ioapi.h:42
Definition: DtEffectRenderer.h:98

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)