File: GLInstanceRendererInternalData.h

package info (click to toggle)
bullet 2.83.7%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 48,772 kB
  • sloc: cpp: 355,312; lisp: 12,087; ansic: 11,969; python: 644; makefile: 116; xml: 27
file content (23 lines) | stat: -rw-r--r-- 626 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef GL_INSTANCE_RENDERER_INTERNAL_DATA_H
#define GL_INSTANCE_RENDERER_INTERNAL_DATA_H

#include "OpenGLInclude.h"
#include "Bullet3Common/b3AlignedObjectArray.h"

struct GLInstanceRendererInternalData
{
	
	b3AlignedObjectArray<GLfloat> m_instance_positions_ptr;
	b3AlignedObjectArray<GLfloat> m_instance_quaternion_ptr;
	b3AlignedObjectArray<GLfloat> m_instance_colors_ptr;
	b3AlignedObjectArray<GLfloat> m_instance_scale_ptr;

	int 								m_vboSize;
	GLuint								m_vbo;
	int									m_totalNumInstances;
	int		m_maxNumObjectCapacity;
	int		m_maxShapeCapacityInBytes;

};

#endif //GL_INSTANCE_RENDERER_INTERNAL_DATA_H