| 267 | |
| 268 | |
| 269 | ILubyte iCompFormatToChannelCount(ILenum Format) |
| 270 | { |
| 271 | if (Format == PF_RGB || Format == PF_3DC || Format == PF_RXGB) |
| 272 | return 3; |
| 273 | else if (Format == PF_LUMINANCE || /*Format == PF_R16F || Format == PF_R32F ||*/ Format == PF_ATI1N) |
| 274 | return 1; |
| 275 | else if (Format == PF_LUMINANCE_ALPHA /*|| Format == PF_G16R16F || Format == PF_G32R32F*/) |
| 276 | return 2; |
| 277 | else if (Format == PF_G16R16F || Format == PF_G32R32F || Format == PF_R32F || Format == PF_R16F) |
| 278 | return 3; |
| 279 | else //if(Format == PF_ARGB || dxt) |
| 280 | return 4; |
| 281 | } |
| 282 | |
| 283 | |
| 284 | ILboolean iLoadDdsCubemapInternal(ILuint CompFormat) |
no outgoing calls
no test coverage detected