Lines Matching refs:surfaceLevel
6097 int surfaceLevel = mipmapLevel; in bindTextures() local
6099 if(surfaceLevel < LOD) in bindTextures()
6101 surfaceLevel = LOD; in bindTextures()
6104 if(surfaceLevel < 0) in bindTextures()
6106 surfaceLevel = 0; in bindTextures()
6108 else if(surfaceLevel >= levelCount) in bindTextures()
6110 surfaceLevel = levelCount - 1; in bindTextures()
6113 surface = texture->getInternalSurfaceLevel(surfaceLevel); in bindTextures()
6126 int surfaceLevel = mipmapLevel; in bindTextures() local
6128 if(surfaceLevel < LOD) in bindTextures()
6130 surfaceLevel = LOD; in bindTextures()
6133 if(surfaceLevel < 0) in bindTextures()
6135 surfaceLevel = 0; in bindTextures()
6137 else if(surfaceLevel >= levelCount) in bindTextures()
6139 surfaceLevel = levelCount - 1; in bindTextures()
6142 surface = cubeTexture->getInternalCubeMapSurface((D3DCUBEMAP_FACES)face, surfaceLevel); in bindTextures()
6154 int surfaceLevel = mipmapLevel; in bindTextures() local
6156 if(surfaceLevel < LOD) in bindTextures()
6158 surfaceLevel = LOD; in bindTextures()
6161 if(surfaceLevel < 0) in bindTextures()
6163 surfaceLevel = 0; in bindTextures()
6165 else if(surfaceLevel >= levelCount) in bindTextures()
6167 surfaceLevel = levelCount - 1; in bindTextures()
6170 volume = volumeTexture->getInternalVolumeLevel(surfaceLevel); in bindTextures()