Add IsSRGB check to DataFormat enum

This commit is contained in:
2021-01-29 03:23:11 +01:00
parent 29f158c9b2
commit 3c2ece3338
2 changed files with 13 additions and 0 deletions

View File

@@ -335,6 +335,8 @@ namespace openVulkanoCpp
[[nodiscard]] std::string_view GetName() const;
[[nodiscard]] bool IsSRGB() const;
[[nodiscard]] bool operator ==(Format rhs)
{
return m_format == rhs;