VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGeometrySpecification.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
12 
15 
16 #include <vector>
17 
18 namespace makVrv
19 {
24  {
25  public:
27  DtPerGeomInstance(int state, int geomOffset);
28 
29  public:
32  //which parent switches of this geometry are turned off
33  //(so if this is 0 then all switches are turned on and the geometry should be visible)
35  float myPadding;
36  private:
39  };
40 
41  typedef std::vector<DtPerGeomInstance> DtPerGeomInstances;
42 
47  {
48  public:
51  };
52 
67  {
68  public:
70  DtGeometrySpecification(int indexOffset, int indexCount, int firstVertex, int state, const AxisAlignedBoundingBox_32& box);
71 
73  int indicesOffset() const;
74 
76  int indicesCount() const;
77 
79  int firstVertex() const;
80 
81  int state() const;
82  public:
85 
88  private:
91  };
92 
94  typedef std::vector<DtGeometrySpecification> DtGeometrySpecVector;
95 }
96 
97 
int myGeometryOffset
Definition: DtGeometrySpecification.h:31
Structure that is packed for consumption by GPU for indirect rendering.
Definition: DtGeometrySpecification.h:66
Structure that stores the AABB for direct consumption by GPU for indirect rendering Its based on Vect...
Definition: DtGeometrySpecification.h:46
Dll export defines.
DtGpuAxisAlignedBoundingBox myBox
The AABB in a structure that can be consumed directly by the GPU.
Definition: DtGeometrySpecification.h:87
std::vector< DtPerGeomInstance > DtPerGeomInstances
Definition: DtGeometrySpecification.h:41
4 dimensional vector
#define DT_DLL_VRVINDIRECTRENDERING
Definition: vrvIndirectRendering.h:19
data that is both Per geometry and per instance such as switch states ***** Used on the GPU directly ...
Definition: DtGeometrySpecification.h:23
Template for 32/64 bit Axis Aligned bounding boxes.
Definition: DtAxisAlignedBoundingBox.h:25
int myInstanceId
Definition: DtGeometrySpecification.h:30
Axis Aligned Bounding Box class.
Vector4_32 myVectorMin
Definition: DtGeometrySpecification.h:49
std::vector< DtGeometrySpecification > DtGeometrySpecVector
Each model type can have a number of geometries.
Definition: DtGeometrySpecification.h:94
int mySwitchesOffBitMask
Definition: DtGeometrySpecification.h:34
Vector4_int myIndicesInfo
The vertex/index information for this spec.
Definition: DtGeometrySpecification.h:84
Vector4_32 myVectorMax
Definition: DtGeometrySpecification.h:50
float myPadding
Definition: DtGeometrySpecification.h:35

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)