VR-Forces Developer's Guide
 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) 2023 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 namespace makVrv
15 {
16 
20  {
22  : rotationAndCoord{ 1.0f, 0, 0, 0 }
23  , position{ 0, 0, 0, 0 }
24  , offsetAndPatternFrequency{ 0, 0, 0, 1.0f }
25  , color{ 0, 0, 0, 0 }
26  {
27  // intentional noop
28  }
29 
30  float rotationAndCoord[4]; // (0,1) = trig rotation, (2,3) = texture projection coords
31  float position[4];
32  float offsetAndPatternFrequency[4]; // (0,1,2) = offset, (3) = pattern frequency
33  float color[4];
34  };
35 
37 
41  {
42  public:
43 
46 
47  protected:
48 
50  virtual void bindVertexArrays();
51 
53  virtual void unbindVertexArrays();
54 
55  protected:
56 
58 
59  };
60 
61 }
float color[4]
Definition: DtFlat2DRenderer.h:33
Contains makVrv::DtEffectRenderer class.
float rotationAndCoord[4]
Definition: DtFlat2DRenderer.h:30
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
Class will render TexturedQuadData using a Dt2DQuadEffect.
Definition: DtFlat2DRenderer.h:40
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:57
DtOffsetColoredVertex()
Definition: DtFlat2DRenderer.h:21
An effect for rendering 2D flat colored quads.
Definition: DtProjected2DFlatEffect.h:19
float offsetAndPatternFrequency[4]
Definition: DtFlat2DRenderer.h:32
Definition: DtEffectRenderer.h:20

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)