Lines Matching refs:surfaceLevel
4751 int surfaceLevel = mipmapLevel;
4753 if(surfaceLevel < LOD)
4755 surfaceLevel = LOD;
4758 if(surfaceLevel < 0)
4760 surfaceLevel = 0;
4762 else if(surfaceLevel >= levelCount)
4764 surfaceLevel = levelCount - 1;
4767 surface = texture->getInternalSurfaceLevel(surfaceLevel);
4780 int surfaceLevel = mipmapLevel;
4782 if(surfaceLevel < LOD)
4784 surfaceLevel = LOD;
4787 if(surfaceLevel < 0)
4789 surfaceLevel = 0;
4791 else if(surfaceLevel >= levelCount)
4793 surfaceLevel = levelCount - 1;
4796 surface = cubeTexture->getInternalCubeMapSurface((D3DCUBEMAP_FACES)face, surfaceLevel);
4808 int surfaceLevel = mipmapLevel;
4810 if(surfaceLevel < LOD)
4812 surfaceLevel = LOD;
4815 if(surfaceLevel < 0)
4817 surfaceLevel = 0;
4819 else if(surfaceLevel >= levelCount)
4821 surfaceLevel = levelCount - 1;
4824 volume = volumeTexture->getInternalVolumeLevel(surfaceLevel);