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