Created
August 6, 2013 18:48
-
-
Save mousebird/6167401 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* A wrapper around the data we need to draw a single | |
OpenGL ES related object. | |
*/ | |
@interface SimpleGLObject : NSObject | |
// The buffer in OpenGL driver space containing the vertices | |
@property GLuint vertexBuffer; | |
// Vertex arrays contain the state to draw our object | |
@property GLuint vertexArray; | |
// The number of vertices we'll be drawing (3 * numTriangles) | |
@property GLuint numVertices; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment