| 230 | } |
| 231 | |
| 232 | TextureHandle ResourceManager::LoadCubeMap(const std::string& prefix, const ColorSpace& cspace, const std::string& fileExt) { |
| 233 | return LoadTextureImpl_({prefix + "right." + fileExt, |
| 234 | prefix + "left." + fileExt, |
| 235 | prefix + "top." + fileExt, |
| 236 | prefix + "bottom." + fileExt, |
| 237 | prefix + "front." + fileExt, |
| 238 | prefix + "back." + fileExt}, |
| 239 | cspace, |
| 240 | TextureType::TEXTURE_CUBE_MAP, |
| 241 | TextureCoordinateWrapping::CLAMP_TO_EDGE, |
| 242 | TextureMinificationFilter::LINEAR_MIPMAP_LINEAR, |
| 243 | TextureMagnificationFilter::LINEAR); |
| 244 | } |
| 245 | |
| 246 | TextureHandle ResourceManager::LoadTextureImpl_(const std::vector<std::string>& files, |
| 247 | const ColorSpace& cspace, |
no outgoing calls
no test coverage detected