Add IsSRGB check to DataFormat enum
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user