19 lines
		
	
	
		
			531 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			531 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __OpenGLExample_OpenGLVertexBufferObjectSupport_H__
 | |
| #define __OpenGLExample_OpenGLVertexBufferObjectSupport_H__
 | |
| 
 | |
| #include "PolyVoxForwardDeclarations.h"
 | |
| 
 | |
| #include "glew/glew.h"
 | |
| 
 | |
| struct OpenGLSurfacePatch
 | |
| {
 | |
| 	GLulong noOfIndices;
 | |
| 	GLuint indexBuffer;
 | |
| 	GLuint vertexBuffer;
 | |
| };
 | |
| 
 | |
| OpenGLSurfacePatch BuildOpenGLSurfacePatch(const PolyVox::IndexedSurfacePatch& isp);
 | |
| void renderRegionVertexBufferObject(const OpenGLSurfacePatch& openGLSurfacePatch);
 | |
| 
 | |
| #endif //__OpenGLExample_OpenGLVertexBufferObjectSupport_H__
 |