| 15 | const Tr2RenderContextEnum::PixelFormat PROFILE_LIGHTMAP_FORMAT = Tr2RenderContextEnum::PIXEL_FORMAT_R16_FLOAT; |
| 16 | |
| 17 | bool IsCompatibleBitmap( const ImageIO::HostBitmap& bitmap ) |
| 18 | { |
| 19 | return bitmap.GetType() == Tr2RenderContextEnum::TEX_TYPE_2D && |
| 20 | bitmap.GetWidth() == PROFILE_LIGHTMAP_SIZE && |
| 21 | bitmap.GetHeight() == 1 && |
| 22 | bitmap.GetFormat() == PROFILE_LIGHTMAP_FORMAT && |
| 23 | bitmap.GetTrueMipCount() == 11; |
| 24 | } |
| 25 | |
| 26 | template <typename T> |
| 27 | void Eat( std::istringstream& is ) |
no test coverage detected