(OES_query_matrix extension) Return the values of
the current matrix.
glQueryMatrixxOES returns the values of the
current matrix. mantissa returns the 16 mantissa
values of the current matrix, and exponent returns
the correspnding 16 exponent values. The matrix value i
is then close to mantissa [i] *
2^exponent [i].
Use glMatrixMode and
glActiveTexture to select the desired matrix to
return.
If all are valid (not NaN or Inf ),
glQueryMatrixxOES returns the status value
0. Otherwise, for every component i which is not valid,
the ith bit is set.
Notes
glQueryMatrixxOES is available only if the
GL_OES_query_matrix extension is supported by your
implementation.
The implementation is not required to keep track of
overflows. If overflows are not tracked, the returned status
value is always 0.
Associated Gets
glGetString with argument
GL_EXTENSIONS .
Parameters: mantissa - Returns the mantissi of the current matrix. Parameters: exponent - Returns the exponents of the current matrix. Parameters: mantissaOffset - the starting offset within themantissa array. Parameters: exponentOffset - the starting offset within theexponent array. a bitfield indicating which components contain invalid(NaN or Inf ) values. exception: UnsupportedOperationException - if the underlyingruntime engine does not support theOES_query_matrix extension. exception: IllegalArgumentException - if mantissa isnull . exception: IllegalArgumentException - if exponent isnull . exception: IllegalArgumentException - if mantissaOffset is less than 0. exception: IllegalArgumentException - if exponentOffset is less than 0. exception: IllegalArgumentException - if mantissa.length -mantissaOffset is less than 16. exception: IllegalArgumentException - if exponent.length -exponentOffset is less than 16.
|