Lines Matching refs:activeUnit
63 m_tex.activeUnit = &m_tex.unit[0];
249 m_tex.activeUnit = &m_tex.unit[unit];
255 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]);
262 m_tex.activeUnit->enables |= (1u << TEXTURE_2D);
265 m_tex.activeUnit->enables |= (1u << TEXTURE_EXTERNAL);
274 m_tex.activeUnit->enables &= ~(1u << TEXTURE_2D);
277 m_tex.activeUnit->enables &= ~(1u << TEXTURE_EXTERNAL);
284 unsigned int enables = m_tex.activeUnit->enables;
324 m_tex.activeUnit->texture[TEXTURE_2D] = texture;
327 m_tex.activeUnit->texture[TEXTURE_EXTERNAL] = texture;
380 return m_tex.activeUnit->texture[TEXTURE_2D];
382 return m_tex.activeUnit->texture[TEXTURE_EXTERNAL];