* Get the format compression ration along the y-axis */
| 264 | * Get the format compression ration along the y-axis |
| 265 | */ |
| 266 | inline uint32_t getFormatHeightCompressionRatio(ResourceFormat format) |
| 267 | { |
| 268 | FALCOR_ASSERT(kFormatDesc[(uint32_t)format].format == format); |
| 269 | return kFormatDesc[(uint32_t)format].compressionRatio.height; |
| 270 | } |
| 271 | |
| 272 | /** |
| 273 | * Get the number of channels |