GLenum _p_n_a_m_e, GLfloat _*_p_a_r_a_m_s )void ggllGGeettCCoolloorrTTaabblleePPaarraammeetteerriivv( GLenum _t_a_r_g_e_t,
GLenum _p_n_a_m_e, GLint _*_p_a_r_a_m_s )
delim $$
When _p_n_a_m_e is set to GGLL__CCOOLLOORR__TTAABBLLEE__SSCCAALLEE or GGLL__CCOOLLOORR__TTAABBLLEE__BBIIAASS, ggllGGeettCCoolloorrTTaabblleePPaarraammeetteerr returns the color table scale or bias parameters for the table specified by _t_a_r_g_e_t. For these queries, _t_a_r_g_e_t must be set to GGLL__CCOOLLOORR__TTAABBLLEE, GGLL__PPOOSSTT__CCOONNVVOOLLUUTTIIOONN__CCOOLLOORR__TTAABBLLEE, or GGLL__PPOOSSTT__CCOOLLOORR__MMAATTRRIIXX__CCOOLLOORR__TTAABBLLEE and _p_a_r_a_m_s points to an array of four elements, which receive the scale or bias factors for red, green, blue, and alpha, in that order.
ggllGGeettCCoolloorrTTaabblleePPaarraammeetteerr can also be used to retrieve the and size parameters for a color table. For these queries, set _t_a_r_g_e_t to either the color table target or the proxy color table target. The and size parameters are set by ggllCCoolloorrTTaabbllee.
The following table lists the and size parameters that may be queried. For each symbolic constant listed below for _p_n_a_m_e, _p_a_r_a_m_s must point to an array of the given length, and receive the values indicated.
center; lb cb lb l c l. _ Parameter NMeaning _ GGLL__CCOOLLOORR__TTAABBLLEE__FFOORRMMAATT 1Internal (e.g. GGLL__RRGGBBAA) GGLL__CCOOLLOORR__TTAABBLLEE__WWIIDDTTHH 1Number of elements in table GGLL__CCOOLLOORR__TTAABBLLEE__RREEDD__SSIIZZEE 1Size of red component, in bits GGLL__CCOOLLOORR__TTAABBLLEE__GGRREEEENN__SSIIZZEE 1Size of green component GGLL__CCOOLLOORR__TTAABBLLEE__BBLLUUEE__SSIIZZEE 1Size of blue component GGLL__CCOOLLOORR__TTAABBLLEE__AALLPPHHAA__SSIIZZEE 1Size of alpha component GGLL__CCOOLLOORR__TTAABBLLEE__LLUUMMIINNAANNCCEE__SSIIZZEE 1Size of luminance component GGLL__CCOOLLOORR__TTAABBLLEE__IINNTTEENNSSIITTYY__SSIIZZEE 1Size of intensity component _
GGLL__IINNVVAALLIIDD__OOPPEERRAATTIIOONN is generated if ggllGGeettCCoolloorrTTaabblleePPaarraammeetteerr is executed between the execution of ggllBBeeggiinn and the corresponding execution of ggllEEnndd.