Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 268 vs 272 for /trunk/Source Code/Environment/Vegetation/Headers/Vegetation.h

Diff revisions: vs.
  @@ -110,16 +110,19 @@
110 110 RenderStateBlock* _grassStateBlock;
111 111
112 112 bool _culledFinal;
113 + U32 _readBuffer;
114 + U32 _writeBuffer;
113 115 U32 _instanceCountGrass;
114 116 U32 _instanceCountTrees;
115 117 U32 _instanceRoutineIdx[CullType_PLACEHOLDER];
116 118 vectorImpl<F32 > _grassScales;
117 119 vectorImpl<vec4<F32> > _grassPositions;
118 120 //vectorImpl<mat4<F32> > _grassMatricesTemp;
119 - GenericVertexData* _grassGPUBuffer;
120 - GenericVertexData* _treeGPUBuffer;
121 + GenericVertexData* _grassGPUBuffer[2];
122 + GenericVertexData* _treeGPUBuffer[2];
121 123 Task_ptr _generateVegetation;
122 124 ShaderBuffer* _grassMatrices;
125 + static bool _staticDataUpdated;
123 126 };
124 127
125 128 #endif