Functions | |
void | glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) |
void | glNormalPointer (GLenum type, GLsizei stride, const GLvoid *ptr) |
void | glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) |
void | glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) |
void | glDrawArrays (GLenum mode, GLint first, GLsizei count) |
The important thing to remember with DrawArrays() is that array data is not copied (mostly). More... | |
void | glFlush (void) |
Flushes the internal geometry buffers. More... |
(If a gl* function is called with parameters that are unsupported/broken, it should say so.)
|
Definition at line 139 of file gmanager.cpp. |
|
The important thing to remember with DrawArrays() is that array data is not copied (mostly). Since the only rendering mode supported now is delayed one frame, this means that the app must double-buffer geometry when it changes. The "mostly" above is because little bits of the array will become part of the dma chain, so modifying the data referenced by a display list won't work as expected. (This would be really useful and should be made possible.) There is no limit on strip lengths (make them as long as possible!). Definition at line 167 of file gmanager.cpp. |
|
Flushes the internal geometry buffers.
Definition at line 176 of file gmanager.cpp. |
|
Definition at line 104 of file gmanager.cpp. |
|
Definition at line 116 of file gmanager.cpp. |
|
Definition at line 82 of file gmanager.cpp. |