omaut.h File Reference
Header for the utility libOMAUT library. More...
Go to the source code of this file.
Functions | |
OMAUTAPI void OMAUTAPIENTRY | omautGLMapVertexArray (void) |
Maps the current chunk and sets OpenGL's vertex pointer to it. | |
OMAUTAPI void OMAUTAPIENTRY | omautGLMapTexCoordArray (void) |
Maps the current chunk and sets OpenGL's texture coordinate pointer to it. | |
OMAUTAPI void OMAUTAPIENTRY | omautGLMapNormalArray (void) |
Maps the current chunk and sets OpenGL's normal pointer to it. | |
OMAUTAPI void OMAUTAPIENTRY | omautGLMapColorArray (void) |
Maps the current chunk and sets OpenGL's color pointer to it. | |
OMAUTAPI void OMAUTAPIENTRY | omautGLMapFrame (OMAuint index, OMAvoid *type, OMAsizei *count, const OMAuint **indices) |
Maps the current chunk's referenced chunks using the other omautGLMap functions. | |
OMAUTAPI void OMAUTAPIENTRY | omautGLMapObject (OMAvoid *type, OMAsizei *count, const OMAuint **indices) |
Maps the current chunk's referenced chunks using the other omautGLMap functions. | |
OMAUTAPI void OMAUTAPIENTRY | omautGLDrawObject (void) |
Maps the current chunk's referenced chunks using the other omautGLMap functions and draws all of the data mapped. | |
OMAUTAPI void OMAUTAPIENTRY | omautGLDrawKeyframe (OMAfloat index) |
Interpolates and draws the current chunk's referenced chunks with the specified index using the other omautGLMap functions. |
Detailed Description
Function Documentation
|
omautGLDrawKeyframe interpolates and draws the current chunk's referenced chunks with the specified index using the other omautGLMap functions. Any reference chunks that need to be accessed may be mapped. If the chunks are already mapped, they will not be remapped and must have been mapped with at least read permission. Unmapping the chunks is up to the caller.
|
|
omautGLDrawObject maps the current chunk's referenced chunk using the other omautGLMap functions and draws of the data mapped with OpenGL. Since this function calls omautGLMapObject, some chunks will be left mapped after calling it. The currently bound chunk's type must be OMA_OBJECT.
|
|
omautGLMapColorArray maps the current chunk's referenced chunks using the other omautGLMap functions. If the chunk is already mapped, it will not be remapped and must have been mapped with at least read permission. If the chunk is not mapped, it will be mapped read-only. Unmapping the chunk is up to the caller. The currently bound chunk's type must be one of:
|
|
omautGLMapFrame maps the current chunk's referenced chunks using the other omautGLMap functions. If the chunk is already mapped, it will not be remapped and must have been mapped with at least read permission. If the chunk is not mapped, it will be unmapped before omautGLMapFrame returns. The currently bound chunk's type must be OMA_FRAME.
|
|
omautGLMapNormalArray maps the current chunk's referenced chunks using the other omautGLMap functions. If the chunk is already mapped, it will not be remapped and must have been mapped with at least read permission. If the chunk is not mapped, it will be mapped read-only. Unmapping the chunk is up to the caller. The currently bound chunk's type must be one of:
|
|
omautGLMapObject maps the current chunk's referenced chunks using the other omautGLMap functions. If the chunk is already mapped, it will not be remapped and must have been mapped with at least read permission. If the chunk is not mapped, it will be unmapped before omautGLMapObject returns. The currently bound chunk's type must be OMA_OBJECT.
|
|
omautGLMapTexCoordArray maps the current chunk's referenced chunks using the other omautGLMap functions. If the chunk is already mapped, it will not be remapped and must have been mapped with at least read permission. If the chunk is not mapped, it will be mapped read-only. Unmapping the chunk is up to the caller. The currently bound chunk's type must be one of:
|
|
omautGLMapVertexArray maps the current chunk's referenced chunks using the other omautGLMap functions. If the chunk is already mapped, it will not be remapped and must have been mapped with at least read permission. If the chunk is not mapped, it will be mapped read-only. Unmapping the chunk is up to the caller. The currently bound chunk's type must be one of:
|