Lines Matching refs:activeUnit
107 m_tex.activeUnit = &m_tex.unit[0]; in init()
971 m_tex.activeUnit = &m_tex.unit[unit]; in setActiveTextureUnit()
977 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]); in getActiveTextureUnit()
984 m_tex.activeUnit->enables |= (1u << TEXTURE_2D); in enableTextureTarget()
987 m_tex.activeUnit->enables |= (1u << TEXTURE_EXTERNAL); in enableTextureTarget()
996 m_tex.activeUnit->enables &= ~(1u << TEXTURE_2D); in disableTextureTarget()
999 m_tex.activeUnit->enables &= ~(1u << TEXTURE_EXTERNAL); in disableTextureTarget()
1025 unsigned int enables = m_tex.activeUnit->enables; in getPriorityEnabledTarget()
1060 m_tex.activeUnit->texture[TEXTURE_2D] = texture; in bindTexture()
1063 m_tex.activeUnit->texture[TEXTURE_EXTERNAL] = texture; in bindTexture()
1066 m_tex.activeUnit->texture[TEXTURE_CUBE_MAP] = texture; in bindTexture()
1069 m_tex.activeUnit->texture[TEXTURE_2D_ARRAY] = texture; in bindTexture()
1072 m_tex.activeUnit->texture[TEXTURE_3D] = texture; in bindTexture()
1075 m_tex.activeUnit->texture[TEXTURE_2D_MULTISAMPLE] = texture; in bindTexture()
1203 return m_tex.activeUnit->texture[TEXTURE_2D]; in getBoundTexture()
1205 return m_tex.activeUnit->texture[TEXTURE_EXTERNAL]; in getBoundTexture()
1207 return m_tex.activeUnit->texture[TEXTURE_CUBE_MAP]; in getBoundTexture()
1209 return m_tex.activeUnit->texture[TEXTURE_2D_ARRAY]; in getBoundTexture()
1211 return m_tex.activeUnit->texture[TEXTURE_3D]; in getBoundTexture()
1213 return m_tex.activeUnit->texture[TEXTURE_2D_MULTISAMPLE]; in getBoundTexture()