Searched refs:m_tex (Results 1 – 2 of 2) sorted by relevance
106 memset(m_tex.unit, 0, sizeof(m_tex.unit)); in init()107 m_tex.activeUnit = &m_tex.unit[0]; in init()108 m_tex.textureRecs = NULL; 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()1005 m_tex.unit[unit].boundSampler = sampler; in bindSampler()[all …]
520 TextureState m_tex; variable