OpenGL.GL.ARB.transpose_matrix
OpenGL extension ARB.transpose_matrix
This module customises the behaviour of the
OpenGL.raw.GL.ARB.transpose_matrix to provide a more
Python-friendly API
Overview (from the spec)
New functions and tokens are added allowing application matrices
stored in row major order rather than column major order to be
transferred to the OpenGL implementation. This allows an application
to use standard C-language 2-dimensional arrays (m[row][col]) and
have the array indices match the expected matrix row and column indexes.
These arrays are referred to as transpose matrices since they are
the transpose of the standard matrices passed to OpenGL.
This extension adds an interface for transfering data to and from the
OpenGL pipeline, it does not change any OpenGL processing or imply any
changes in state representation.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/transpose_matrix.txt
Functions
Constants
GL_TRANSPOSE_COLOR_MATRIX_ARB (34022)
GL_TRANSPOSE_MODELVIEW_MATRIX_ARB (34019)
GL_TRANSPOSE_PROJECTION_MATRIX_ARB (34020)
GL_TRANSPOSE_TEXTURE_MATRIX_ARB (34021)