Searched refs:activeUnit (Results 1 – 2 of 2) sorted by relevance
64 m_tex.activeUnit = &m_tex.unit[0]; in GLClientState()252 m_tex.activeUnit = &m_tex.unit[unit]; in setActiveTextureUnit()258 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]); in getActiveTextureUnit()265 m_tex.activeUnit->enables |= (1u << TEXTURE_2D); in enableTextureTarget()268 m_tex.activeUnit->enables |= (1u << TEXTURE_EXTERNAL); in enableTextureTarget()277 m_tex.activeUnit->enables &= ~(1u << TEXTURE_2D); in disableTextureTarget()280 m_tex.activeUnit->enables &= ~(1u << TEXTURE_EXTERNAL); in disableTextureTarget()287 unsigned int enables = m_tex.activeUnit->enables; in getPriorityEnabledTarget()327 m_tex.activeUnit->texture[TEXTURE_2D] = texture; in bindTexture()330 m_tex.activeUnit->texture[TEXTURE_EXTERNAL] = texture; in bindTexture()[all …]
210 TextureUnit* activeUnit; member