Lines Matching refs:texFormat

2129 				GLenum texFormat = texture->getFormat(GL_TEXTURE_2D, 0);  in applyTextures()  local
2134 if(IsAlpha(texFormat)) // GL_ALPHA in applyTextures()
2140 else if(IsRGB(texFormat)) // GL_LUMINANCE (or 1) / GL_RGB (or 3) in applyTextures()
2146 else if(IsRGBA(texFormat)) // GL_LUMINANCE_ALPHA (or 2) / GL_RGBA (or 4) in applyTextures()
2152 else UNREACHABLE(texFormat); in applyTextures()
2155 if(IsAlpha(texFormat)) // GL_ALPHA in applyTextures()
2161 else if(IsRGB(texFormat)) // GL_LUMINANCE (or 1) / GL_RGB (or 3) in applyTextures()
2167 else if(IsRGBA(texFormat)) // GL_LUMINANCE_ALPHA (or 2) / GL_RGBA (or 4) in applyTextures()
2173 else UNREACHABLE(texFormat); in applyTextures()
2176 if(texFormat == GL_ALPHA || in applyTextures()
2177 texFormat == GL_LUMINANCE || in applyTextures()
2178 texFormat == GL_LUMINANCE_ALPHA) in applyTextures()
2184 else if(IsRGB(texFormat)) // GL_LUMINANCE (or 1) / GL_RGB (or 3) in applyTextures()
2190 else if(IsRGBA(texFormat)) // GL_LUMINANCE_ALPHA (or 2) / GL_RGBA (or 4) in applyTextures()
2196 else UNREACHABLE(texFormat); in applyTextures()
2199 if(IsAlpha(texFormat)) // GL_ALPHA in applyTextures()
2205 else if(IsRGB(texFormat)) // GL_LUMINANCE (or 1) / GL_RGB (or 3) in applyTextures()
2211 else if(IsRGBA(texFormat)) // GL_LUMINANCE_ALPHA (or 2) / GL_RGBA (or 4) in applyTextures()
2217 else UNREACHABLE(texFormat); in applyTextures()
2220 if(IsAlpha(texFormat)) // GL_ALPHA in applyTextures()
2226 else if(IsRGB(texFormat)) // GL_LUMINANCE (or 1) / GL_RGB (or 3) in applyTextures()
2232 else if(IsRGBA(texFormat)) // GL_LUMINANCE_ALPHA (or 2) / GL_RGBA (or 4) in applyTextures()
2238 else UNREACHABLE(texFormat); in applyTextures()