Add MTLPixelFormat to DataFormat mapping

This commit is contained in:
Georg Hagen
2024-07-09 10:07:41 +02:00
parent 92b77e46f5
commit d48d60441a
2 changed files with 285 additions and 1 deletions

View File

@@ -372,7 +372,9 @@ namespace OpenVulkano
}
static DataFormat GetFromName(std::string_view name);
static DataFormat GetFromMetalPixelFormat(int formatId);
private:
Format m_format;
};
}
}