MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / isKnownKeyValueString

Function isKnownKeyValueString

lib/info.c:95–108  ·  view source on GitHub ↗

@internal */

Source from the content-addressed store, hash-verified

93
94/** @internal */
95bool isKnownKeyValueString(const char* key) {
96 if (strcmp(key, "KTXorientation") == 0)
97 return true;
98 if (strcmp(key, "KTXswizzle") == 0)
99 return true;
100 if (strcmp(key, "KTXwriter") == 0)
101 return true;
102 if (strcmp(key, "KTXwriterScParams") == 0)
103 return true;
104 if (strcmp(key, "KTXastcDecodeMode") == 0)
105 return true;
106
107 return false;
108}
109
110/** @internal */
111bool isKnownKeyValue(const char* key) {

Callers 3

isKnownKeyValueFunction · 0.85
printKVDataFunction · 0.85
printKVDataJSONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected