Lines Matching refs:surfaceLevel
2120 int surfaceLevel = mipmapLevel;
2122 if(surfaceLevel < 0)
2124 surfaceLevel = 0;
2126 else if(surfaceLevel >= levelCount)
2128 surfaceLevel = levelCount - 1;
2131 Image *surface = texture->getImage(surfaceLevel);
2143 int surfaceLevel = mipmapLevel;
2145 if(surfaceLevel < 0)
2147 surfaceLevel = 0;
2149 else if(surfaceLevel >= levelCount)
2151 surfaceLevel = levelCount - 1;
2154 Image *surface = cubeTexture->getImage(face, surfaceLevel);