- //
- // the exception is the color array which is often generated based on
- // colormod, alpha fading, and fogging, it may also come from q3bsp vertex
- // lighting of certain surfaces
- const float *vertex3f;
- int vertex3f_bufferobject;
- size_t vertex3f_bufferoffset;
- const float *svector3f;
- int svector3f_bufferobject;
- size_t svector3f_bufferoffset;
- const float *tvector3f;
- int tvector3f_bufferobject;
- size_t tvector3f_bufferoffset;
- const float *normal3f;
- int normal3f_bufferobject;
- size_t normal3f_bufferoffset;
- const float *lightmapcolor4f;
- int lightmapcolor4f_bufferobject;
- size_t lightmapcolor4f_bufferoffset;
- const float *texcoordtexture2f;
- int texcoordtexture2f_bufferobject;
- size_t texcoordtexture2f_bufferoffset;
- const float *texcoordlightmap2f;
- int texcoordlightmap2f_bufferobject;
- size_t texcoordlightmap2f_bufferoffset;
+ qboolean batchgeneratedvertex;
+ int batchfirstvertex;
+ int batchnumvertices;
+ int batchfirsttriangle;
+ int batchnumtriangles;
+ const r_vertexmesh_t *batchvertexmesh;
+ const r_meshbuffer_t *batchvertexmeshbuffer;
+ const r_vertexposition_t *batchvertexposition;
+ const r_meshbuffer_t *batchvertexpositionbuffer;
+ const float *batchvertex3f;
+ const r_meshbuffer_t *batchvertex3f_vertexbuffer;
+ size_t batchvertex3f_bufferoffset;
+ const float *batchsvector3f;
+ const r_meshbuffer_t *batchsvector3f_vertexbuffer;
+ size_t batchsvector3f_bufferoffset;
+ const float *batchtvector3f;
+ const r_meshbuffer_t *batchtvector3f_vertexbuffer;
+ size_t batchtvector3f_bufferoffset;
+ const float *batchnormal3f;
+ const r_meshbuffer_t *batchnormal3f_vertexbuffer;
+ size_t batchnormal3f_bufferoffset;
+ const float *batchlightmapcolor4f;
+ const r_meshbuffer_t *batchlightmapcolor4f_vertexbuffer;
+ size_t batchlightmapcolor4f_bufferoffset;
+ const float *batchtexcoordtexture2f;
+ const r_meshbuffer_t *batchtexcoordtexture2f_vertexbuffer;
+ size_t batchtexcoordtexture2f_bufferoffset;
+ const float *batchtexcoordlightmap2f;
+ const r_meshbuffer_t *batchtexcoordlightmap2f_vertexbuffer;
+ size_t batchtexcoordlightmap2f_bufferoffset;
+ const int *batchelement3i;
+ const r_meshbuffer_t *batchelement3i_indexbuffer;
+ size_t batchelement3i_bufferoffset;
+ const unsigned short *batchelement3s;
+ const r_meshbuffer_t *batchelement3s_indexbuffer;
+ size_t batchelement3s_bufferoffset;
+ // rendering pass processing arrays in GL11 and GL13 paths
+ const float *passcolor4f;
+ const r_meshbuffer_t *passcolor4f_vertexbuffer;
+ size_t passcolor4f_bufferoffset;
+