| 118 | CE_STATIC_ASSERT(countof(s_texture_formats) == TextureFormat::COUNT); |
| 119 | |
| 120 | static TextureFormat::Enum texture_format_to_enum(const char *format) |
| 121 | { |
| 122 | for (u32 i = 0; i < countof(s_texture_formats); ++i) { |
| 123 | if (strcmp(format, s_texture_formats[i].name) == 0) |
| 124 | return s_texture_formats[i].type; |
| 125 | } |
| 126 | |
| 127 | return TextureFormat::COUNT; |
| 128 | } |
| 129 | |
| 130 | struct OutputSettings |
| 131 | { |
no test coverage detected