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.
Promoted to core in OpenGL 1..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_TRANSPOSE_COLOR_MATRIX_ARB
Accepted by the |
| public static final int | GL_TRANSPOSE_MODELVIEW_MATRIX_ARB
Accepted by the |
| public static final int | GL_TRANSPOSE_PROJECTION_MATRIX_ARB
Accepted by the |
| public static final int | GL_TRANSPOSE_TEXTURE_MATRIX_ARB
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static void | glLoadTransposeMatrixfARB(FloatBuffer
the matrix data m)Sets the current matrix to a 4 × 4 matrix in row-major order. |
| public static void | |
| public static void | |
| public static void | |
| public static void | glMultTransposeMatrixfARB(FloatBuffer
the matrix data m)Multiplies the current matrix with a 4 × 4 matrix in row-major order. |
| public static void | |
| public static native void | |
| public static native void | |
| public static native void | |
| public static native void |
| GL_TRANSPOSE_COLOR_MATRIX_ARB | back to summary |
|---|---|
| public static final int GL_TRANSPOSE_COLOR_MATRIX_ARB Accepted by the | |
| GL_TRANSPOSE_MODELVIEW_MATRIX_ARB | back to summary |
|---|---|
| public static final int GL_TRANSPOSE_MODELVIEW_MATRIX_ARB Accepted by the | |
| GL_TRANSPOSE_PROJECTION_MATRIX_ARB | back to summary |
|---|---|
| public static final int GL_TRANSPOSE_PROJECTION_MATRIX_ARB Accepted by the | |
| GL_TRANSPOSE_TEXTURE_MATRIX_ARB | back to summary |
|---|---|
| public static final int GL_TRANSPOSE_TEXTURE_MATRIX_ARB Accepted by the | |
| ARBTransposeMatrix | back to summary |
|---|---|
| protected ARBTransposeMatrix() | |
| glLoadTransposeMatrixdARB | back to summary |
|---|---|
| public static void glLoadTransposeMatrixdARB(DoubleBuffer m) Double version of
| |
| glLoadTransposeMatrixdARB | back to summary |
|---|---|
| public static void glLoadTransposeMatrixdARB(double[] m) Array version of: | |
| glLoadTransposeMatrixfARB | back to summary | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void glLoadTransposeMatrixfARB(FloatBuffer m) Sets the current matrix to a 4 × 4 matrix in row-major order. The matrix is stored as 16 consecutive values, i.e. as:
| |||||||||||||||||
| glLoadTransposeMatrixfARB | back to summary |
|---|---|
| public static void glLoadTransposeMatrixfARB(float[] m) Array version of: | |
| glMultTransposeMatrixdARB | back to summary |
|---|---|
| public static void glMultTransposeMatrixdARB(DoubleBuffer m) Double version of
| |
| glMultTransposeMatrixdARB | back to summary |
|---|---|
| public static void glMultTransposeMatrixdARB(double[] m) Array version of: | |
| glMultTransposeMatrixfARB | back to summary |
|---|---|
| public static void glMultTransposeMatrixfARB(FloatBuffer m) Multiplies the current matrix with a 4 × 4 matrix in row-major order. See
| |
| glMultTransposeMatrixfARB | back to summary |
|---|---|
| public static void glMultTransposeMatrixfARB(float[] m) Array version of: | |
| nglLoadTransposeMatrixdARB | back to summary |
|---|---|
| public static native void nglLoadTransposeMatrixdARB(long m) Unsafe version of: | |
| nglLoadTransposeMatrixfARB | back to summary |
|---|---|
| public static native void nglLoadTransposeMatrixfARB(long m) Unsafe version of: | |
| nglMultTransposeMatrixdARB | back to summary |
|---|---|
| public static native void nglMultTransposeMatrixdARB(long m) Unsafe version of: | |
| nglMultTransposeMatrixfARB | back to summary |
|---|---|
| public static native void nglMultTransposeMatrixfARB(long m) Unsafe version of: | |